Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/SigFox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ int SIGFOXClass::send(unsigned char mess[], int len, bool rx)
}

int SIGFOXClass::sendBit(bool value){
int ret;
int i = 0;
status();

Expand Down Expand Up @@ -379,7 +378,7 @@ char* SIGFOXClass::status(Protocol type)
char* SIGFOXClass::getStatusAtm()
{
buffer[0] = '\0';
byte err = (atm & B0011110) >> 1;
byte err = (atm & 0b0011110) >> 1;
char pa[10]; pa[0] = '\0';
if (bitRead(atm, 0) == 1) strcpy(pa, "PA ON"); else strcpy(pa, "PA OFF");
if (err > 0)
Expand Down