Slave mode was always enable (ersky9x board)
This commit is contained in:
+1
-1
@@ -257,7 +257,7 @@ extern void board_init();
|
|||||||
#endif // defined (PCBV4)
|
#endif // defined (PCBV4)
|
||||||
|
|
||||||
#if defined(PCBARM)
|
#if defined(PCBARM)
|
||||||
#define SLAVE_MODE 1
|
#define SLAVE_MODE (check_soft_power() == e_power_trainer)
|
||||||
#else
|
#else
|
||||||
#define SLAVE_MODE (PING & (1<<INP_G_RF_POW))
|
#define SLAVE_MODE (PING & (1<<INP_G_RF_POW))
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user