Skip to content

Commit 8d7d64c

Browse files
committed
Add remote command to feature flag list
1 parent b08d080 commit 8d7d64c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/network/featureflags.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
#include <cstring>
2828
#include <algorithm>
29+
#include "debug.h"
2930

3031
/**
3132
* Bit packed flags, enum values start with 0 and indicate which bit it is.
@@ -73,8 +74,8 @@ class FirmwareFeatures {
7374
public:
7475
enum EFirmwareFeatureFlags: uint32_t {
7576
// EXAMPLE_FEATURE,
77+
REMOTE_COMMAND = 0,
7678
B64_WIFI_SCANNING = 1,
77-
7879
// Add new flags here
7980

8081
BITS_TOTAL,
@@ -83,6 +84,9 @@ class FirmwareFeatures {
8384
// Flags to send
8485
static constexpr const std::initializer_list<EFirmwareFeatureFlags> flagsEnabled = {
8586
// EXAMPLE_FEATURE,
87+
#ifdef USE_REMOTE_COMMAND
88+
REMOTE_COMMAND,
89+
#endif
8690
B64_WIFI_SCANNING,
8791

8892
// Add enabled flags here

0 commit comments

Comments
 (0)