-
-
Notifications
You must be signed in to change notification settings - Fork 657
Open
Description
Hello Developer Friends,
This is a small issue when I compiled an Arduino project against your library:
c:\Users\user_name\Documents\Arduino\libraries\LoRa\src\LoRa.cpp: In member function 'long int LoRaClass::packetFrequencyError()':
c:\Users\user_name\Documents\Arduino\libraries\LoRa\src\LoRa.cpp:277:71: warning: 'B111' is deprecated: use 0b111 instead [-Wdeprecated-declarations]
277 | freqError = static_cast<int32_t>(readRegister(REG_FREQ_ERROR_MSB) & B111);
| ^~~~
In file included from C:\Users\user_name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.2\cores\esp32/Arduino.h:40,
from c:\Users\user_name\Documents\Arduino\libraries\LoRa\src/LoRa.h:7,
from c:\Users\user_name\Documents\Arduino\libraries\LoRa\src\LoRa.cpp:4:
C:\Users\user_name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.2\cores\esp32/binary.h:86:3: note: declared here
86 | B111 DEPRECATED(0b111) = 7,
| ^~~~
c:\Users\user_name\Documents\Arduino\libraries\LoRa\src\LoRa.cpp:283:42: warning: 'B1000' is deprecated: use 0b1000 instead [-Wdeprecated-declarations]
283 | if (readRegister(REG_FREQ_ERROR_MSB) & B1000) { // Sign bit is on
| ^~~~~
C:\Users\user_name\AppData\Local\Arduino15\packages\esp32\hardware\esp32\3.3.2\cores\esp32/binary.h:92:3: note: declared here
92 | B1000 DEPRECATED(0b1000) = 8,
| ^~~~~
My IDE is arduino v2.3.6, esp32 v3.3.2, arduino-lora v0.8.0
Thanks for your attention.
Metadata
Metadata
Assignees
Labels
No labels