Skip to content

Commit aa946bb

Browse files
committed
WITH_BRIDGE was not implementing setBridgeState()
1 parent 2297d24 commit aa946bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpers/CommonCLI.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ class CommonCLICallbacks {
5757
virtual void clearStats() = 0;
5858
virtual void applyTempRadioParams(float freq, float bw, uint8_t sf, uint8_t cr, int timeout_mins) = 0;
5959

60-
#ifdef WITH_ESPNOW_BRIDGE
60+
#ifdef WITH_BRIDGE
6161
virtual void setBridgeState(bool enable) = 0;
62+
#ifdef WITH_ESPNOW_BRIDGE
6263
virtual void updateBridgeChannel(int ch) = 0;
6364
#endif
65+
#endif
6466
};
6567

6668
class CommonCLI {

0 commit comments

Comments
 (0)