mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-12 17:19:03 +08:00
Remove unused old code thanks @rondlh
Add 1000000 and 2000000
This commit is contained in:
parent
e471be57a6
commit
47b206a0b8
@ -1650,7 +1650,10 @@ Passwords are not displayed and replaced by `********`
|
||||
{"250000":"250000"},
|
||||
{"500000":"500000"},
|
||||
{"921600":"921600"},
|
||||
{"1958400":"1958400"}]},
|
||||
{"1000000":"1000000"},
|
||||
{"1958400":"1958400"},
|
||||
{"2000000":"2000000"},
|
||||
]},
|
||||
{"F":"system/boot","P":"320","T":"I","V":"100","H":"bootdelay","S":"40000","M":"0"},
|
||||
{"F":"system/boot","P":"1023","T":"B","V":"0","H":"verbose","O":[{"no":"0"},{"yes":"1"}]},
|
||||
{"F":"system/outputmsg","P":"129","T":"B","V":"1","H":"serial","O":[{"no":"0"},{"yes":"1"}]},
|
||||
@ -3064,7 +3067,9 @@ can be in JSON or plain text
|
||||
- 250000
|
||||
- 500000
|
||||
- 921600
|
||||
- 1000000
|
||||
- 1958400
|
||||
- 2000000
|
||||
|
||||
* pwd=<admin password>
|
||||
the admin password if authentication is enabled
|
||||
|
@ -576,7 +576,7 @@
|
||||
/* Add serial task
|
||||
* ESP32 need to add a task to handle serial communication
|
||||
*/
|
||||
// #define SERIAL_INDEPENDANT_TASK
|
||||
#define SERIAL_INDEPENDANT_TASK
|
||||
|
||||
/************************************
|
||||
*
|
||||
|
@ -48,8 +48,6 @@ void ESP3DCommands::ESP111(int cmd_params_pos, ESP3DMessage* msg) {
|
||||
return;
|
||||
}
|
||||
#endif // AUTHENTICATION_FEATURE
|
||||
tmpstr = get_clean_param(msg, cmd_params_pos);
|
||||
|
||||
tmpstr = get_param(msg, cmd_params_pos, "OUTPUT=");
|
||||
if (tmpstr == "PRINTER") {
|
||||
msg->target = ESP3DClientType::remote_screen;
|
||||
|
@ -110,7 +110,7 @@ const char* SupportedApChannelsStr[] = {"1", "2", "3", "4", "5", "6", "7",
|
||||
|
||||
const char* SupportedBaudListSizeStr[] = {
|
||||
"9600", "19200", "38400", "57600", "74880", "115200",
|
||||
"230400", "250000", "500000", "921600", "1958400"};
|
||||
"230400", "250000", "500000", "921600", "1000000", "1958400","2000000"};
|
||||
|
||||
#ifdef SENSOR_DEVICE
|
||||
|
||||
|
@ -66,7 +66,7 @@ TaskHandle_t _hserialtask = nullptr;
|
||||
|
||||
const uint32_t SupportedBaudList[] = {9600, 19200, 38400, 57600,
|
||||
74880, 115200, 230400, 250000,
|
||||
500000, 921600, 1958400};
|
||||
500000, 921600, 1000000, 1958400, 2000000};
|
||||
const size_t SupportedBaudListSize = sizeof(SupportedBaudList) / sizeof(long);
|
||||
|
||||
#define TIMEOUT_SERIAL_FLUSH 1500
|
||||
|
Loading…
x
Reference in New Issue
Block a user