mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
Arduino boards with ESP8266 (#3121)
default crystal freq 26M for all boards, 40M for arduino
This commit is contained in:
committed by
Ivan Grokhotkov
parent
a01638f3b5
commit
a9224266f3
@ -88,7 +88,11 @@ static const uint8_t ICACHE_FLASH_ATTR phy_init_data[128] =
|
||||
// 0: 40MHz
|
||||
// 1: 26MHz
|
||||
// 2: 24MHz
|
||||
[48] = 1,
|
||||
#if F_CRYSTAL == 40000000
|
||||
[48] = 0,
|
||||
#else
|
||||
[48] = 1,
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@ -312,4 +316,3 @@ void user_rf_pre_init()
|
||||
|
||||
|
||||
void ICACHE_RAM_ATTR user_spi_flash_dio_to_qio_pre_init() {}
|
||||
|
||||
|
Reference in New Issue
Block a user