Update console.c

Why 1Mbit limit? Works well up to 3Mbit.
pull/527/head
deividAlfa 3 years ago committed by GitHub
parent cf329e8b84
commit be0b408167
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      serial/console.c

@ -76,7 +76,7 @@ ajaxConsoleBaud(HttpdConnData *connData) {
len = httpdFindArg(connData->getArgs, "rate", buff, sizeof(buff)); len = httpdFindArg(connData->getArgs, "rate", buff, sizeof(buff));
if (len > 0) { if (len > 0) {
int rate = atoi(buff); int rate = atoi(buff);
if (rate >= 300 && rate <= 1000000) { if (rate >= 300 && rate <= 3000000) {
uart0_baud(rate); uart0_baud(rate);
flashConfig.baud_rate = rate; flashConfig.baud_rate = rate;
status = configSave() ? 200 : 400; status = configSave() ? 200 : 400;

Loading…
Cancel
Save