Skip to content

Commit

Permalink
fixed bug on tester sinhgle-char commands
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroLopes committed Jan 24, 2017
1 parent 487789c commit 8bc4381
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arduino-openEMSstim/arduino-openEMSstim.ino
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,7 @@ const char* const string_table_outputs[] PROGMEM = {ems_channel_1_active, ems_ch

char buffer[32];


//process a command message (according to protocol, check https://bitbucket.org/MaxPfeiffer/letyourbodymove/)
//process a command message (according to protocol, check github for that)
void processMessage(String message) {
if (message.charAt(0) == 'W' && message.charAt(1) == 'V') {
int lastIndexOfComma = message.lastIndexOf(',');
Expand Down

0 comments on commit 8bc4381

Please sign in to comment.