Fix compiler warning regarding failsafeIndicator

This commit is contained in:
Dominic Clifton 2015-04-19 13:24:45 +01:00
parent fbc3a8e1eb
commit 581b0cd897
2 changed files with 4 additions and 4 deletions

View File

@ -15,15 +15,15 @@
* is using in the C source code, usually in main.c. This file contains:
* - Configuration section that allows to select:
* - The device used in the target application
* - To use or not the peripherals drivers in application code(i.e.
* code will be based on direct access to peripherals registers
* - To use or not the peripheral<EFBFBD>s drivers in application code(i.e.
* code will be based on direct access to peripheral<EFBFBD>s registers
* rather than drivers API), this option is controlled by
* "#define USE_STDPERIPH_DRIVER"
* - To change few application-specific parameters such as the HSE
* crystal frequency
* - Data structures and the address mapping for all peripherals
* - Peripheral's registers declarations and bits definition
* - Macros to access peripherals registers hardware
* - Macros to access peripheral<EFBFBD>s registers hardware
*
******************************************************************************
* @attention

View File

@ -212,7 +212,7 @@ void updateRxStatus(void)
void updateFailsafeStatus(void)
{
char failsafeIndicator;
char failsafeIndicator = '?';
switch (failsafePhase()) {
case FAILSAFE_IDLE:
failsafeIndicator = '-';