S.PORT Flash fix
This commit is contained in:
@@ -235,3 +235,13 @@ uint8_t telemetryGetByte(uint8_t * byte)
|
||||
return telemetryNoDMAFifo.pop(*byte);
|
||||
#endif
|
||||
}
|
||||
|
||||
void telemetryClearFifo()
|
||||
{
|
||||
#if defined(PCBX12S)
|
||||
telemetryDMAFifo.clear();
|
||||
#endif
|
||||
|
||||
telemetryNoDMAFifo.clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user