Slave mode was always enable (ersky9x board)

This commit is contained in:
bsongis
2012-04-10 22:45:55 +00:00
parent c49f31748c
commit 80d36a783f
+1 -1
View File
@@ -257,7 +257,7 @@ extern void board_init();
#endif // defined (PCBV4)
#if defined(PCBARM)
#define SLAVE_MODE 1
#define SLAVE_MODE (check_soft_power() == e_power_trainer)
#else
#define SLAVE_MODE (PING & (1<<INP_G_RF_POW))
#endif