Skip to content

Commit

Permalink
Arduino firmware: fix buf missing a break in switch statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicost committed Oct 28, 2024
1 parent d3ac996 commit 3d8ab19
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DeviceAdapters/Arduino/AOTFcontroller/AOTFcontroller.ino
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
// pin connected to CS of TLV5618
int latchPin = 5;

const unsigned int SEQUENCELENGTH = 24; // Can be increased, but pay attention that there is significant memory left for local variables
const uint16_t SEQUENCELENGTH = 256; // Can be increased, but pay attention that there is significant memory left for local variables
byte triggerPattern_[SEQUENCELENGTH];
unsigned int triggerDelay_[SEQUENCELENGTH];
int patternLength_ = 0;
Expand Down Expand Up @@ -352,6 +352,7 @@
Serial.write( byte(32));
Serial.write(highByte(SEQUENCELENGTH));
Serial.write(lowByte(SEQUENCELENGTH));
break;

case 40:
Serial.write( byte(40));
Expand Down

0 comments on commit 3d8ab19

Please sign in to comment.