Skip to content

Commit 0568460

Browse files
author
Noah
committed
helps to save the file
1 parent c03fc3d commit 0568460

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

powerwatch/electron_rev_3/software/firmware/src/ChargeState.h

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ class ChargeState: public PeriodicSubsystem {
2424
void setup();
2525

2626
private:
27+
bool power_state_change_flag;
2728
void send();
2829
void sample();
2930
void periodic(bool force);

powerwatch/electron_rev_3/software/firmware/src/firmware.ino

+1
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ STARTUP(System.enableFeature(FEATURE_RETAINED_MEMORY));
9999
//STARTUP(cellular_credentials_set("http://mtnplay.com.gh", "", "", NULL));
100100
SYSTEM_MODE(MANUAL);
101101
bool handshake_flag = false;
102+
OneWire ds(B0);
102103

103104
//**********************************
104105
//* Pin Configuration

0 commit comments

Comments
 (0)