Skip to content

Commit 9ee0152

Browse files
committed
add default no op implementation for remove neighbor function
1 parent c49ecc1 commit 9ee0152

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
@@ -43,7 +43,9 @@ class CommonCLICallbacks {
4343
virtual void dumpLogFile() = 0;
4444
virtual void setTxPower(uint8_t power_dbm) = 0;
4545
virtual void formatNeighborsReply(char *reply) = 0;
46-
virtual void removeNeighbor(const uint8_t* pubkey, int key_len) = 0;
46+
virtual void removeNeighbor(const uint8_t* pubkey, int key_len) {
47+
// no op by default
48+
};
4749
virtual mesh::LocalIdentity& getSelfId() = 0;
4850
virtual void clearStats() = 0;
4951
virtual void applyTempRadioParams(float freq, float bw, uint8_t sf, uint8_t cr, int timeout_mins) = 0;

0 commit comments

Comments
 (0)