Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2018-02-21 01:52:26 +0300
committerKarl Palsson <karlp@tweak.net.au>2018-02-24 15:46:08 +0300
commitf71798b360d00d51c7163ba5ae882ff6f694ada7 (patch)
treee296abfb47e1f21d5745383ddf445466df8b9c07 /tests
parent11a7dcf0b9a8f160cdd6921d336beb91859748ca (diff)
tests: gadget0: stm32l1: fix wait state declaration
Fixes: ec1d2855b stm32l1: rcc: use better naming for flash wait states
Diffstat (limited to 'tests')
-rw-r--r--tests/gadget-zero/main-stm32l1-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gadget-zero/main-stm32l1-generic.c b/tests/gadget-zero/main-stm32l1-generic.c
index 28d1c600..4e53720f 100644
--- a/tests/gadget-zero/main-stm32l1-generic.c
+++ b/tests/gadget-zero/main-stm32l1-generic.c
@@ -43,7 +43,7 @@ const struct rcc_clock_scale this_clock_config = {
.ppre1 = RCC_CFGR_PPRE1_HCLK_NODIV,
.ppre2 = RCC_CFGR_PPRE2_HCLK_NODIV,
.voltage_scale = PWR_SCALE1,
- .flash_config = FLASH_ACR_LATENCY_1WS,
+ .flash_waitstates = 1,
.apb1_frequency = 32000000,
.apb2_frequency = 32000000,
};