mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 17:23:52 +08:00
* try 1 * some fixes * fix some misra * first poc working * more things * more misra fixes * fix misra * add rate limiting * fix misra * add some unit tests through libpanda * add more tests and fix some stuff * fix misra again * add startup log hitl test * list * don't fail on wrong timestamps * improvements * fix tests * expected logs test? * not sure why this passed * oh, it doesn't reset * only show last few * guess at expected logs * needs this * ugh * reduce compiler warnings * adjust expected logs * this is correct * is it really 1? * min max * reduce spam in SPI test * some cleanup
10 lines
260 B
C
10 lines
260 B
C
|
|
// Flash is writable in 32-byte lines, this struct is designed to fit in two lines.
|
|
// This also matches the USB transfer size.
|
|
typedef struct __attribute__((packed)) log_t {
|
|
uint16_t id;
|
|
timestamp_t timestamp;
|
|
uint32_t uptime;
|
|
char msg[50];
|
|
} log_t;
|