mirror of
https://github.com/adrigongv23/G26---Telemetry-Software.git
synced 2026-05-25 04:21:27 +02:00
perf(serial): aumentar velocidad del puerto a 2.000.000 baudios
Se eleva la tasa de transferencia del puerto Serie al máximo régimen estable soportado por el microcontrolador (2 Mbps). Esta optimización reduce drásticamente el tiempo de bloqueo de la CPU al imprimir mensajes de depuración, liberando ciclos de reloj que son vitales para garantizar la lectura ininterrumpida del bus CAN y soportar la futura carga de la pila Wi-Fi/UDP.
This commit is contained in:
parent
c446873682
commit
72dc48807d
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ CAN can_interface;
|
||||||
DataProcessor processor;
|
DataProcessor processor;
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
Serial.begin(115200);
|
Serial.begin(2000000);
|
||||||
delay(1000);
|
delay(1000);
|
||||||
Serial.println("\n--- G26 TELEMETRY: INICIO DE SISTEMA ---");
|
Serial.println("\n--- G26 TELEMETRY: INICIO DE SISTEMA ---");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue