mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Trigger gyro SPI DMA reads in EXTI handler if supported and lock gyroTask loop to gyro to eliminate missed updates and jitter
This commit is contained in:
parent
415d4db5aa
commit
d5f62be013
63 changed files with 755 additions and 379 deletions
|
@ -202,6 +202,10 @@ uint16_t batteryWarningVoltage;
|
|||
uint8_t useHottAlarmSoundPeriod (void) { return 0; }
|
||||
const uint32_t baudRates[] = {0, 9600, 19200, 38400, 57600, 115200, 230400, 250000, 400000}; // see baudRate_e
|
||||
|
||||
uint8_t debugMode;
|
||||
int32_t schedLoopStartCycles;
|
||||
int32_t taskGuardCycles;
|
||||
|
||||
uint32_t micros(void) {return 0;}
|
||||
|
||||
int32_t getAmperage(void) {
|
||||
|
@ -324,7 +328,6 @@ uint8_t serialRead(serialPort_t *){return 0;}
|
|||
void bufWriterAppend(bufWriter_t *, uint8_t ch){ printf("%c", ch); }
|
||||
void serialWriteBufShim(void *, const uint8_t *, int) {}
|
||||
bufWriter_t *bufWriterInit(uint8_t *, int, bufWrite_t, void *) {return NULL;}
|
||||
void schedulerSetCalulateTaskStatistics(bool) {}
|
||||
void setArmingDisabled(armingDisableFlags_e) {}
|
||||
|
||||
void waitForSerialPortToFinishTransmitting(serialPort_t *) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue