Skip to content

Commit

Permalink
Fix clock divider value for ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
jessebraham committed Dec 9, 2022
1 parent 1252727 commit 91f63a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espflash/src/targets/esp8266.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const FLASH_RANGES: &[Range<u32>] = &[
const UART_CLKDIV_REG: u32 = 0x6000_0014;
const UART_CLKDIV_MASK: u32 = 0xfffff;

const XTAL_CLK_DIVIDER: u32 = 1;
const XTAL_CLK_DIVIDER: u32 = 2;

/// ESP8266 Target
pub struct Esp8266;
Expand Down

0 comments on commit 91f63a2

Please sign in to comment.