TrmR / TrmE / TrmT / TrmA sources added to mixers and custom switches
The choice for Trim in mixers will be: OFF / ON / Rud / Ele / Thr / Ail EEPROM formatted on ARM when invalid EEPROM No EEPROM format when ARM board USB powered
This commit is contained in:
@@ -72,6 +72,10 @@ inline void init_soft_power()
|
||||
|
||||
uint32_t check_soft_power()
|
||||
{
|
||||
#ifdef SIMU
|
||||
return e_power_on;
|
||||
#endif
|
||||
|
||||
if ( PIOC->PIO_PDSR & 0x02000000 )
|
||||
{
|
||||
return e_power_usb ; // Detected USB
|
||||
|
||||
Reference in New Issue
Block a user