Closed celery6 closed 3 months ago
testing code:
Verify that the logs are in fact printing
Nice I can probably find time to test this in person tmr
@Lucifersan just realized the test print uses uarttransmit not printf so this does actually print the entire buffer together.
This issue is actually just the hal_uart_transmit timeout of 500 ticks being too low since unsurprisingly it takes longer than 0.5s to transmit a book-length novel of logs :skull:
increased timeout to 3000 and it works as expected. (log buffer itself is actually fine.) we can ignore this issue
ill clean up the testing code then this should be good to merge!
removed testing code, also cleaned up commits. lgtm?
mommy what. im gonna change that and test it lmao
wtf I literally built and it built how tf 😭😭
minor adjustments to hopefully increase certainty that logger won't overflow any buffers or get stuck.
NUM_LOG_BUFFERS - 1
. reasoning described in comment