From: asterix Date: Thu, 20 May 2010 17:18:59 +0000 (+0000) Subject: Silent warning. X-Git-Tag: 2.5.0~151 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bc82b96134c540c07d09aec545983a3bf8810b54;p=bertos.git Silent warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3766 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c b/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c index 64afa5ef..568920ec 100644 --- a/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c +++ b/bertos/cpu/cortex-m3/drv/kdebug_lm3s.c @@ -83,7 +83,7 @@ typedef uint32_t kdbg_irqsave_t; INLINE void uart_hw_config(void) { unsigned long div, baud = CONFIG_KDEBUG_BAUDRATE; - bool hi_speed; + bool hi_speed = false; if (baud * 16 > CPU_FREQ) {