将GPIO18的433初始化移到最后

This commit is contained in:
2026-07-28 10:13:22 +08:00
parent 722e9ea88f
commit 8d3116c2a4
@@ -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));