Skip to content

Commit 91f63a2

Browse files
committed
Fix clock divider value for ESP8266
1 parent 1252727 commit 91f63a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espflash/src/targets/esp8266.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const FLASH_RANGES: &[Range<u32>] = &[
2020
const UART_CLKDIV_REG: u32 = 0x6000_0014;
2121
const UART_CLKDIV_MASK: u32 = 0xfffff;
2222

23-
const XTAL_CLK_DIVIDER: u32 = 1;
23+
const XTAL_CLK_DIVIDER: u32 = 2;
2424

2525
/// ESP8266 Target
2626
pub struct Esp8266;

0 commit comments

Comments
 (0)