fix: Trainer jack initialisation and driver cleanup (#3811)

This commit is contained in:
3djc
2023-08-09 21:08:42 +10:00
committed by GitHub
parent f7037a92b0
commit ae8e1fff8a
16 changed files with 57 additions and 48 deletions
+2
View File
@@ -20,6 +20,7 @@
*/
#include "hal/adc_driver.h"
#include "hal/trainer_driver.h"
#include "hal/switch_driver.h"
#include "hal/module_port.h"
@@ -137,6 +138,7 @@ void boardInit()
}
#endif
init_trainer();
// Sets 'hardwareOption.pcbrev' as well
pwrInit();
boardInitModulePorts();