Xtensa ESP32: Corrects timer initialization and timer input frequency.

This commit is contained in:
Gregory Nutt
2016-12-19 11:50:28 -06:00
parent a9a39800a4
commit 097f09cb02
2 changed files with 6 additions and 9 deletions
+3 -1
View File
@@ -56,7 +56,9 @@
#if 0
# define BOARD_CLOCK_FREQUENCY 80000000
#else
# define BOARD_CLOCK_FREQUENCY BOARD_XTAL_FREQUENCY
/* Hmmm... actually appears to be running at about 2 x the XTAL frequency */
# define BOARD_CLOCK_FREQUENCY (2 * BOARD_XTAL_FREQUENCY)
#endif
#endif /* __CONFIGS_ESP32_CORE_INCLUDE_BOARD_H */