Skip to content

Commit

Permalink
back then I did not remember char was signed, anyway now we have opti…
Browse files Browse the repository at this point in the history
…on to define the sizes we need
  • Loading branch information
rambo committed Aug 12, 2014
1 parent 109c7e6 commit 0c98f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Found the code via http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267762668/9

Noticed it's not interrupt safe so did a quick-and-dirty sprinkling of volatile keywors and it happens to work

Also limited the FIFO size the 255 (char vs int, for strategic variables) to conserve memory.
Also limited the FIFO size the 255 (uint8_t vs int, for strategic variables) to conserve memory. If you need larger buffers: define SIMPLEFIFO_LARGE before including SimpleFIFO.h which will use uint16_t for those variables.

See also http://code.google.com/p/alexanderbrevig/downloads/list

0 comments on commit 0c98f76

Please sign in to comment.