Skip to content

Commit 5029c90

Browse files
tcpipchipfpistm
authored andcommitted
fix: setAppEui inline method
Fixes #26 Signed-off-by: tcpipchip <[email protected]>
1 parent ae19ba4 commit 5029c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/STM32LoRaWAN.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ class STM32LoRaWAN : public Stream {
347347
bool setDevEui(String value) { return setDevEui(value.c_str()); }
348348
bool setDevEui(uint64_t value) { return mibSetUint64("DevEui", MIB_DEV_EUI, value); }
349349
bool setAppEui(const char *value) { return mibSetHex("AppEui", MIB_JOIN_EUI, value); }
350-
bool setAppEui(String value) { return setDevEui(value.c_str()); }
350+
bool setAppEui(String value) { return setAppEui(value.c_str()); }
351351
bool setAppEui(uint64_t value) { return mibSetUint64("AppEui", MIB_JOIN_EUI, value); }
352352
bool setDevAddr(const char *value) { return mibSetHex("DevAddr", MIB_DEV_ADDR, value); }
353353
bool setDevAddr(String value) { return setDevAddr(value.c_str()); }

0 commit comments

Comments
 (0)