bluejay
bluejay copied to clipboard
feat: Implement a wait after startup_beep_done to sync multiple ESCs
As we allow each ESCs on a craft to have their own startup tune, each of them may finish playing at a different time. Hence we implpement a 16 bit configurable wait after playing startup tune. This should allow us to wait up to 65536 ms.
The Eeprom variables to configure these wait times are:
Eep_Pgm_Tune_Wait_MSB_ms - most significant byte Eep_Pgm_Tune_Wait_LSB_ms - least significant byte
Total wait = Eep_Pgm_Tune_Wait_MSB_ms*255 + Eep_Pgm_Tune_Wait_LSB_ms
TODO: Make sure these values are set to 0 by default
Any reason why this isn't ready to be merged? Wouldn't this help fix #19 ?