diff --git a/project/example/ble/ble_peripheral/app/src/arch_main.c b/project/example/ble/ble_peripheral/app/src/arch_main.c index d5b7975..3cbe852 100644 --- a/project/example/ble/ble_peripheral/app/src/arch_main.c +++ b/project/example/ble/ble_peripheral/app/src/arch_main.c @@ -242,8 +242,6 @@ void board_init() #if (_DEBUG_ == 1) app_uart_init(); #endif - rf433_gpio_init(); - rf433_decoder_init(); //h // LOGI("ytt sdk version: %s build time: %s %s\n", TOSTRING(SDK_VERSION), __DATE__, __TIME__); stack_tag(); @@ -451,6 +449,8 @@ int main(void) #endif // gpio_pullup_input_inter_test(); adc_Init(); + rf433_decoder_init(); + rf433_gpio_init(); while (1){ //DEBUG("222\r\n"); //printf("ddd=%d---%d---%d\r\n",W_PWM_duty,C_PWM_duty,(2*deadTime));