Adjusted code for l1 to the new api introduced by karlp in pr #84

This commit is contained in:
Piotr Esden-Tempski
2013-02-18 14:12:48 -08:00
parent 3c110fec8e
commit b13e55da8c
2 changed files with 5 additions and 5 deletions

View File

@@ -259,7 +259,7 @@ void reset_clocks(void)
.ppre1 = RCC_CFGR_PPRE1_HCLK_NODIV,
.ppre2 = RCC_CFGR_PPRE2_HCLK_NODIV,
.voltage_scale = RANGE2,
.flash_config = FLASH_LATENCY_0WS,
.flash_config = FLASH_ACR_LATENCY_0WS,
.apb1_frequency = 4194000,
.apb2_frequency = 4194000,
.msi_range = RCC_ICSCR_MSIRANGE_4MHZ,
@@ -297,4 +297,4 @@ int main(void)
}
return 0;
}
}