Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Praneethsvch committed Nov 11, 2020
1 parent 225ec5d commit 30e3d41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lorawan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ unsigned int ERROR_FLAGS;
void prepare_packet(void) {

byte lowbyte, highbyte, lowbat, highbat;

String packet_data;
// Error
ERROR_FLAGS = pow(2,0)* SD_ERROR;

Expand Down Expand Up @@ -467,7 +467,7 @@ void prepare_packet(void) {
Serial.print("Distance = ");
Serial.print(distance);
Serial.println(" mm");
String packet_data = String("Distance in mm is: ") + String(distance);
packet_data = String("Distance in mm is: ") + String(distance);
writeToSDCard(packet_data);

// Battery
Expand Down

0 comments on commit 30e3d41

Please sign in to comment.