mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-14 23:25:54 +08:00
Allows RX buffer to be 512 instead of 128 in stable
This commit is contained in:
parent
3dae051e0c
commit
eb8dd002fe
@ -100,6 +100,8 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//Serial rx buffer size is 256 but can be extended
|
||||
#define SERIAL_RX_BUFFER_SIZE 512
|
||||
//DEBUG Flag do not do this when connected to printer !!!
|
||||
//#define DEBUG_ESP3D
|
||||
//#define DEBUG_OUTPUT_SPIFFS
|
||||
|
@ -96,6 +96,7 @@ void setup()
|
||||
if(breset_config) {
|
||||
//update EEPROM with default settings
|
||||
Serial.begin(DEFAULT_BAUD_RATE);
|
||||
Serial.setRxBufferSize(SERIAL_RX_BUFFER_SIZE);
|
||||
delay(2000);
|
||||
Serial.println(F("M117 ESP EEPROM reset"));
|
||||
#ifdef DEBUG_ESP3D
|
||||
@ -116,6 +117,7 @@ void setup()
|
||||
#endif
|
||||
//setup serial
|
||||
Serial.begin(baud_rate);
|
||||
Serial.setRxBufferSize(SERIAL_RX_BUFFER_SIZE);
|
||||
delay(1000);
|
||||
LOG("Serial Set\r\n");
|
||||
wifi_config.baud_rate=baud_rate;
|
||||
|
Loading…
x
Reference in New Issue
Block a user