Add user_rf_pre_init() function to fix build error with SDK-1.1.0

This patch fixes below build error with SDK-1.1.0:
esp-open-sdk/sdk/lib/libmain.a(app_main.o): In function `user_uart_wait_tx_fifo_empty':
(.irom0.text+0x34c): undefined reference to `user_rf_pre_init'

According to esp_iot_sdk_v1.1.0_15_05_26 Release Note:
user_rf_pre_init has to be added in user_main.c, user can call
system_phy_set_rfoption to set configuration of RF in it.
develop
Axel Lin 2015-05-26 14:55:20 +08:00
rodzic 6556476624
commit 5ff9766908
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -92,6 +92,9 @@ void mqttDataCb(uint32_t *args, const char* topic, uint32_t topic_len, const cha
os_free(dataBuf);
}
void user_rf_pre_init(void)
{
}
void user_init(void)
{