Browse Source

add default no op implementation for remove neighbor function

pull/663/head
liamcottle 9 months ago
parent
commit
9ee0152084
  1. 4
      src/helpers/CommonCLI.h

4
src/helpers/CommonCLI.h

@ -43,7 +43,9 @@ public:
virtual void dumpLogFile() = 0;
virtual void setTxPower(uint8_t power_dbm) = 0;
virtual void formatNeighborsReply(char *reply) = 0;
virtual void removeNeighbor(const uint8_t* pubkey, int key_len) = 0;
virtual void removeNeighbor(const uint8_t* pubkey, int key_len) {
// no op by default
};
virtual mesh::LocalIdentity& getSelfId() = 0;
virtual void clearStats() = 0;
virtual void applyTempRadioParams(float freq, float bw, uint8_t sf, uint8_t cr, int timeout_mins) = 0;

Loading…
Cancel
Save