mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Update SBUS and CRSF to use microsISR() in the interrupt handler
This commit is contained in:
parent
05418297b2
commit
cb80314311
6 changed files with 9 additions and 2 deletions
|
@ -255,6 +255,7 @@ extern "C" {
|
|||
attitudeEulerAngles_t attitude = { { 0, 0, 0 } };
|
||||
|
||||
uint32_t micros(void) {return dummyTimeUs;}
|
||||
uint32_t microsISR(void) {return micros();}
|
||||
serialPort_t *openSerialPort(serialPortIdentifier_e, serialPortFunction_e, serialReceiveCallbackPtr, void *, uint32_t, portMode_e, portOptions_e) {return NULL;}
|
||||
serialPortConfig_t *findSerialPortConfig(serialPortFunction_e ) {return NULL;}
|
||||
bool isBatteryVoltageConfigured(void) { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue