fix: add Bridge.run() to loop() so MCU processes incoming RPCs
Validate and Test / validate-patches (push) Failing after 13s
Validate and Test / validate-patches (push) Failing after 13s
Without Bridge.run() in loop(), the MCU never reads incoming draw_frame requests from the router. First frame goes through during setup handshake, but subsequent frames fill the router's send buffer and the viz stalls.
This commit is contained in:
@@ -342,7 +342,8 @@ kconfig:
|
|||||||
flash-sketch:
|
flash-sketch:
|
||||||
@ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\
|
@ssh {{SSH_OPTS}} "{{BOARD_USER}}@{{BOARD_HOST}}" "\
|
||||||
cd {{REPO_DIR}} && \
|
cd {{REPO_DIR}} && \
|
||||||
arduino-cli compile --upload --fqbn arduino:zephyr:unoq sketch/"
|
INCS=\$(find /home/arduino/Arduino/libraries -type d -not -path '*/Arduino_RouterBridge*' -not -path '*/Arduino_RPClite*' 2>/dev/null | sort -u | sed 's/^/-I/' | tr '\n' ' ') && \
|
||||||
|
arduino-cli compile --upload --fqbn arduino:zephyr:unoq --build-property \"build.extra_flags=\$INCS\" sketch/"
|
||||||
|
|
||||||
# Validate all .pd files using Conftest/OPA Rego policies
|
# Validate all .pd files using Conftest/OPA Rego policies
|
||||||
validate:
|
validate:
|
||||||
|
|||||||
+2
-1
@@ -121,5 +121,6 @@ void setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
delay(1000);
|
Bridge.run();
|
||||||
|
delay(1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user