From da244ffcaa9bb1a9eb5b3b81d546965b8d30ac91 Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Mon, 24 Feb 2020 18:23:34 +0100 Subject: [PATCH] cpu/atmega_common: fix compile problem with NDEBUG --- cpu/atmega_common/periph/rtt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cpu/atmega_common/periph/rtt.c b/cpu/atmega_common/periph/rtt.c index a35b7d591c..0719117c34 100644 --- a/cpu/atmega_common/periph/rtt.c +++ b/cpu/atmega_common/periph/rtt.c @@ -206,6 +206,7 @@ static inline uint8_t _rtt_div(uint16_t freq) case 128: return 0x6; case 32: return 0x7; default : assert(0); + return 0; } }