Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. for (i=0; i<(int)len; i++) {
  2. s->buf16[i] = (int16_t)buf[i] - 127;
  3. }
  4. printf("buf %x %x, buf16 %x %xn", buf[0],buf[1], s->buf16[0], s->buf16[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement