[Horus] S.PORT to Lua passthrough (#3810)
* [Horus] S.PORT to Lua passthrough * Fixes. Still not tested * Do not speak when we have nothing to say * Move outputTelemetryBufferSize check earlier
This commit is contained in:
@@ -43,6 +43,11 @@ class DMAFifo
|
||||
return N;
|
||||
}
|
||||
|
||||
uint8_t last(int index)
|
||||
{
|
||||
return fifo[(2*N - stream->NDTR - index) & (N-1)];
|
||||
}
|
||||
|
||||
bool isEmpty()
|
||||
{
|
||||
#if defined(SIMU)
|
||||
|
||||
Reference in New Issue
Block a user