Skip to content

Commit

Permalink
fix 3 digit version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed May 12, 2017
1 parent 9924b2d commit 16448ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/src/src.ino
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
boolean debug=1; // Set to 1 to few debug serial output
boolean flash_led=0; // Flash LED after each sample (battery drain) default=0

const byte version = 322; // firmware version divided by 10 e,g 16 = V1.6
const unsigned int version = 321; // firmware version divided by 10 e,g 16 = V1.6
// These variables control the transmit timing of the emonTH
const unsigned long WDT_PERIOD = 80; // mseconds.
const unsigned long WDT_MAX_NUMBER = 690; // Data sent after WDT_MAX_NUMBER periods of WDT_PERIOD ms without pulses:
Expand Down Expand Up @@ -177,7 +177,7 @@ void setup() {
{
Serial.begin(115200);
Serial.println("OpenEnergyMonitor.org");
Serial.print("emonTH FW: V"); Serial.println(version*0.1);
Serial.print("emonTH FW: V"); Serial.println(version);
delay(100);
}

Expand Down

0 comments on commit 16448ac

Please sign in to comment.