Commit 2608a810 authored by David Griffith's avatar David Griffith 💬

Explain buffer in minipro_report_info_t

RadiomanV discovered that newer firmwares from Autoelectric are sending
more data than were previously expected.  The buffer is intended as a sort
of cushion for any unexpected extra data to land without causing the whole
program to abort.  See
https://github.com/radiomanV/TL866/commit/4a292e62a2bc5a2a2032de4d0a9c73f67834ed51#diff-03765691ab74ef18e9b9f73ac311bd3a
for where I got this.
parent a490b011
Pipeline #55829171 passed with stage
in 24 seconds
......@@ -68,7 +68,7 @@ typedef struct minipro_report_info
uint8_t b1;
uint8_t checksum;
uint8_t bad_serial;
uint8_t buffer[20];
uint8_t buffer[20]; /* for future autoelectric expansion */
} minipro_report_info_t;
typedef struct minipro_status_s
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment