From e5d0f83696b47e222898b6bcb537c940c22caaeb Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Mon, 30 May 2022 18:23:16 +0200 Subject: [PATCH] cpu/atmega_common: store periph_timer prescalers in flash --- cpu/atmega_common/periph/timer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/atmega_common/periph/timer.c b/cpu/atmega_common/periph/timer.c index 81b68893ab..6fc9350e35 100644 --- a/cpu/atmega_common/periph/timer.c +++ b/cpu/atmega_common/periph/timer.c @@ -42,7 +42,7 @@ /** * @brief Possible prescaler values, encoded as 2 ^ val */ -static const uint8_t prescalers[] = { 0, 3, 6, 8, 10 }; +static const __flash uint8_t prescalers[] = { 0, 3, 6, 8, 10 }; /** * @brief Timer state context