From 4d0589f3169d1304f49e1a16c1e697106b1f8c60 Mon Sep 17 00:00:00 2001 From: proddy Date: Sat, 17 Oct 2020 16:55:17 +0200 Subject: [PATCH] formatting --- src/command.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/command.cpp b/src/command.cpp index 1ca9999aa..e048b558d 100644 --- a/src/command.cpp +++ b/src/command.cpp @@ -101,6 +101,7 @@ void Command::show(uuid::console::Shell & shell, uint8_t device_type) { } // see if a device_type is active and has associated commands +// returns false if the device has no commands bool Command::device_has_commands(const uint8_t device_type) { if (device_type == EMSdevice::DeviceType::UNKNOWN) { return false; @@ -124,6 +125,7 @@ bool Command::device_has_commands(const uint8_t device_type) { } } } + return false; }