Skip to content

Commit e76ec38

Browse files
committed
Handle serial port dynamic speed
1 parent 1c39998 commit e76ec38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wled00/wled_serial.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ enum class AdaState {
146146
TPM2_Header_Type,
147147
TPM2_Header_CountHi,
148148
TPM2_Header_CountLo,
149-
};
149+
};*/
150150

151-
uint16_t currentBaud = 1152; //default baudrate 115200 (divided by 100)
151+
uint16_t currentBaud = 20000; //default baudrate 115200 (divided by 100)
152152

153153
void updateBaudRate(uint32_t rate){
154154
uint16_t rate100 = rate/100;
@@ -163,7 +163,7 @@ void updateBaudRate(uint32_t rate){
163163
Serial.begin(rate);
164164
}
165165

166-
void handleSerial()
166+
/*void handleSerial()
167167
{
168168
if (pinManager.isPinAllocated(3)) return;
169169

0 commit comments

Comments
 (0)