diff options
author | xengineering <me@xengineering.eu> | 2024-06-01 12:08:57 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2024-06-01 12:08:57 +0200 |
commit | 010cf768c20c71603172ae4c300ce3d571863141 (patch) | |
tree | c51a5d07b5d24bdcf1eae934cfa51e9928ef5b94 | |
parent | 71f05dc68f31e01b01bbd47d1d7454719b19cce4 (diff) | |
download | iot-core-010cf768c20c71603172ae4c300ce3d571863141.tar iot-core-010cf768c20c71603172ae4c300ce3d571863141.tar.zst iot-core-010cf768c20c71603172ae4c300ce3d571863141.zip |
firmware: Rename frame to payload
This array does not really contain the whole frame.
-rw-r--r-- | firmware/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/src/main.c b/firmware/src/main.c index 5abd68a..e18cc77 100644 --- a/firmware/src/main.c +++ b/firmware/src/main.c @@ -23,11 +23,11 @@ int main(void) return 0; } - uint8_t frame[] = {0xDE, DL_SLIP_END, DL_SLIP_ESC, 0xAD}; + uint8_t payload[] = {0xDE, DL_SLIP_END, DL_SLIP_ESC, 0xAD}; while (true) { k_sleep(K_MSEC(1000)); - dl_send_frame(uart_dev, frame, ARRAY_SIZE(frame)); + dl_send_frame(uart_dev, payload, ARRAY_SIZE(payload)); } return 0; |