From: sjlongland Date: Sat, 24 Oct 2015 23:13:13 +0000 (+0000) Subject: sm1000_main: Announce warn period not timeout period. X-Git-Url: http://git.whiteaudio.com/gitweb/?a=commitdiff_plain;h=c200baf7da57e17be10ed0c80771aae6bd760171;p=freetel-svn-tracking.git sm1000_main: Announce warn period not timeout period. git-svn-id: https://svn.code.sf.net/p/freetel/code@2472 01035d8c-6547-0410-b346-abe4f91aad63 --- diff --git a/codec2-dev/stm32/src/sm1000_main.c b/codec2-dev/stm32/src/sm1000_main.c index 9f5c7cf3..93da72d8 100644 --- a/codec2-dev/stm32/src/sm1000_main.c +++ b/codec2-dev/stm32/src/sm1000_main.c @@ -1030,7 +1030,7 @@ static void menu_tot_warn_cb(struct menu_t* const menu, uint32_t event) if (announce) { /* Render the text, thankfully we don't need re-entrancy */ static char period[5]; - snprintf(period, 4, "%d", prefs.tot_period); + snprintf(period, 4, "%d", prefs.tot_warn_period); /* Announce the period */ morse_play(&morse_player, period); }