Skip to content

Commit

Permalink
Add remote command to feature flag list
Browse files Browse the repository at this point in the history
  • Loading branch information
nekomona committed Jan 20, 2024
1 parent b08d080 commit 8d7d64c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/network/featureflags.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#include <cstring>
#include <algorithm>
#include "debug.h"

/**
* Bit packed flags, enum values start with 0 and indicate which bit it is.
Expand Down Expand Up @@ -73,8 +74,8 @@ class FirmwareFeatures {
public:
enum EFirmwareFeatureFlags: uint32_t {
// EXAMPLE_FEATURE,
REMOTE_COMMAND = 0,
B64_WIFI_SCANNING = 1,

// Add new flags here

BITS_TOTAL,
Expand All @@ -83,6 +84,9 @@ class FirmwareFeatures {
// Flags to send
static constexpr const std::initializer_list<EFirmwareFeatureFlags> flagsEnabled = {
// EXAMPLE_FEATURE,
#ifdef USE_REMOTE_COMMAND
REMOTE_COMMAND,
#endif
B64_WIFI_SCANNING,

// Add enabled flags here
Expand Down

0 comments on commit 8d7d64c

Please sign in to comment.