esp32: wait uart tx finish before cpu freq change

This commit is contained in:
Wu Jian Gang
2016-09-21 16:15:42 +08:00
parent 4f93b49e0a
commit 835cc55138
2 changed files with 13 additions and 2 deletions

View File

@@ -76,6 +76,6 @@ static inline void cpu_configure_region_protection()
* This is a temporary function which will be replaced once dynamic
* CPU frequency changing is implemented.
*/
void esp_set_cpu_freq();
void esp_set_cpu_freq(void);
#endif