Skip to content

Commit

Permalink
Set the correct value for margin
Browse files Browse the repository at this point in the history
  • Loading branch information
frazar committed Sep 26, 2018
1 parent 071be04 commit c79676d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lmic/lmic.c
Original file line number Diff line number Diff line change
Expand Up @@ -1263,7 +1263,7 @@ static void buildDataFrame (void) {
if( LMIC.devsAns ) { // answer to device status
LMIC.frame[end+0] = MCMD_DEVS_ANS;
LMIC.frame[end+1] = os_getBattLevel();
LMIC.frame[end+2] = LMIC.margin;
LMIC.frame[end+2] = LMIC.devAnsMargin;
end += 3;
LMIC.devsAns = 0;
}
Expand Down

0 comments on commit c79676d

Please sign in to comment.