1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

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

View file

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