Skip to content

Commit 4085a2f

Browse files
committed
Add LMK back
1 parent c0b2042 commit 4085a2f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libraries/ESP_NOW/examples/ESP_NOW_Network/ESP_NOW_Network.ino

+1-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ public:
108108
uint32_t priority;
109109
bool peer_is_master = false;
110110

111-
// Revert the lmk later
112-
ESP_NOW_Network_Peer(const uint8_t *mac_addr, uint32_t priority = 0, const uint8_t *lmk = nullptr);
111+
ESP_NOW_Network_Peer(const uint8_t *mac_addr, uint32_t priority = 0, const uint8_t *lmk = (const uint8_t *)ESPNOW_EXAMPLE_LMK);
113112
~ESP_NOW_Network_Peer();
114113

115114
bool begin();

0 commit comments

Comments
 (0)