From 6e5ad5d210e6a27197ec3cb5edb47a29adf20506 Mon Sep 17 00:00:00 2001 From: atomiclama Date: Wed, 6 Dec 2017 09:17:55 +0000 Subject: [PATCH] Change switch default handling Currently if no black box device is selected the default case sets storageDeviceIsWorking = true. I believe this to be wrong. This commit keeps the initial setting of false. --- src/main/io/osd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index f437b2f5b1..84dd4f1640 100644 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -1069,7 +1069,7 @@ static void osdGetBlackboxStatusString(char * buff) #endif default: - storageDeviceIsWorking = true; + break; } if (storageDeviceIsWorking) {