Skip to content

Commit 5d2555f

Browse files
committed
warning: 'B0011110' is deprecated: use 0b0011110 instead
1 parent e35da90 commit 5d2555f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SigFox.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ char* SIGFOXClass::status(Protocol type)
379379
char* SIGFOXClass::getStatusAtm()
380380
{
381381
buffer[0] = '\0';
382-
byte err = (atm & B0011110) >> 1;
382+
byte err = (atm & 0b0011110) >> 1;
383383
char pa[10]; pa[0] = '\0';
384384
if (bitRead(atm, 0) == 1) strcpy(pa, "PA ON"); else strcpy(pa, "PA OFF");
385385
if (err > 0)

0 commit comments

Comments
 (0)