Startup and communication bugfixes

- reduce amount of mode switched when starting and loading setups
- improve logging for errors during HIL tests
- fix small USB communication bugs
This commit is contained in:
Jan Käberich 2025-01-06 17:34:46 +01:00
parent 733d0ffbf4
commit ca25969574
14 changed files with 148 additions and 44 deletions

View file

@ -269,6 +269,7 @@ bool usb_transmit(const uint8_t *data, uint16_t length) {
}
bool ret = true;
if(!data_transmission_active) {
last_transmission = HAL_GetTick();
ret = trigger_next_fifo_transmission();
}
__enable_irq();