We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c66ad62 commit 818233eCopy full SHA for 818233e
1 file changed
Mainboard/Firmware/mainboard/Core/Src/main.c
@@ -56,6 +56,11 @@ int main(void)
56
// Only attempt to grab the lock and route data if there
57
// is actually data waiting in the DMA buffers to help the
58
// external IRQ retain higher priority access to process_routing
59
+ // IMPORTANT NOTE: the goal is to handle all data in the
60
+ // interrupts. This pathway to process_routing() is being provided
61
+ // as a fail safe. If it is regularly being used, consider this a
62
+ // warning sign of a broader system problem as it will cause slow
63
+ // link speeds.
64
if (drv_uart_has_dma_data())
65
try_process_routing(); // This try function is thread safe
66
0 commit comments