diff --git a/main.c b/main.c index a348623..971d2e0 100644 --- a/main.c +++ b/main.c @@ -2628,8 +2628,10 @@ int main(void) * Powercycle the RF part to reset SI4432 */ +#if 0 palClearPad(GPIOB, GPIO_RF_PWR); chThdSleepMilliseconds(200); +#endif palSetPad(GPIOB, GPIO_RF_PWR); chThdSleepMilliseconds(500); diff --git a/si4432.c b/si4432.c index 7488288..9b7f76e 100644 --- a/si4432.c +++ b/si4432.c @@ -583,12 +583,12 @@ void SI4432_Sub_Init(void) void SI4432_Init() { - +#if 0 palClearPad(GPIOB, GPIO_RF_PWR); chThdSleepMilliseconds(20); palSetPad(GPIOB, GPIO_RF_PWR); chThdSleepMilliseconds(20); - +#endif //DebugLine("IO set"); SI4432_Sel = SI4432_RX;