Skip to content

Commit

Permalink
feat(espnow): By default keep the peer when sending fails
Browse files Browse the repository at this point in the history
  • Loading branch information
P-R-O-C-H-Y committed Sep 17, 2024
1 parent d0ae1cd commit 0ee66a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/ESP_NOW/src/ESP32_NOW_Serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ESP_NOW_Serial_Class : public Stream, public ESP_NOW_Peer {
size_t tryToSend();

public:
ESP_NOW_Serial_Class(const uint8_t *mac_addr, uint8_t channel, wifi_interface_t iface = WIFI_IF_AP, const uint8_t *lmk = NULL, bool remove_on_fail = true);
ESP_NOW_Serial_Class(const uint8_t *mac_addr, uint8_t channel, wifi_interface_t iface = WIFI_IF_AP, const uint8_t *lmk = NULL, bool remove_on_fail = false);
~ESP_NOW_Serial_Class();
size_t setRxBufferSize(size_t);
size_t setTxBufferSize(size_t);
Expand Down

0 comments on commit 0ee66a8

Please sign in to comment.