From 010cf768c20c71603172ae4c300ce3d571863141 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 1 Jun 2024 12:08:57 +0200 Subject: firmware: Rename frame to payload This array does not really contain the whole frame. --- firmware/src/main.c | 4 ++-- 1 file 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; -- cgit v1.2.3-70-g09d2