mirror of
https://github.com/BotChain-Robots/firmware.git
synced 2026-07-08 09:37:21 +02:00
Send sensor reading over control frame instead of generic + ack
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
const auto that = reinterpret_cast<LoopManager *>(args);
|
const auto that = reinterpret_cast<LoopManager *>(args);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
that->send_sensor_reading(true);
|
that->send_sensor_reading(false);
|
||||||
vTaskDelay(SENSOR_DATA_PERIOD_MS / portTICK_PERIOD_MS);
|
vTaskDelay(SENSOR_DATA_PERIOD_MS / portTICK_PERIOD_MS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user