Skip to content

Commit

Permalink
0x1ffixtypo
Browse files Browse the repository at this point in the history
  • Loading branch information
jpffitch committed Mar 28, 2023
1 parent ee7367e commit 2ad6afb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Opcodes/serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ uintptr_t arduino_listen(void *p)
val = ((hi&0x7)<<7) | (low&0x7f);
c = (hi>>3)&0x1f;
if (DEBUG) printf("In bits: va1=%.2x va2= %.2x; c1=%.2x\n",
(hi&0x7)<<7, low&0x7f, (hi>>3)0x1f);
(hi&0x7)<<7, low&0x7f, (hi>>3)&0x1f);
if (DEBUG) printf("Sensor %d value %d(%.2x)\n", c, val, val);
q->buffer[c] = val;
}
Expand Down

0 comments on commit 2ad6afb

Please sign in to comment.