Guest User

Untitled

a guest
Aug 21st, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void odp_decode_list_functions(uint8_t* pkt, uint8_t len, bool log_output){
  2.   odp_log("Available functions:");
  3.   char fname[10];
  4.   char *dst = fname[0];
  5.   uint8_t i = 0;
  6.   pkt += 2; // Skip command ID and status byte
  7.   while(i < len){
  8.     while(*dst++ = *pkt++ && i < len){i++;};
  9.     odp_log(fname);
  10.     *dst = fname[0];
  11.   }
  12. }
RAW Paste Data