Browse Source

Remove debugging delay(); decrease deep sleep delay

master
Adam PIppin 3 years ago
parent
commit
00e2d2d587
  1. 2
      watchos2/Module_Power.h
  2. 1
      watchos2/Task_Battery.cpp
  3. 2
      watchos2/__vm/Compile.vmps.xml
  4. 2
      watchos2/__vm/Upload.vmps.xml

2
watchos2/Module_Power.h

@ -8,7 +8,7 @@
#include "EventListener.h"
#define MODULE_POWER_INTERACTIVE_LIGHT_SLEEP_DELAY_MS 200
#define MODULE_POWER_INTERACTIVE_DEEP_SLEEP_DELAY_MS 3000
#define MODULE_POWER_INTERACTIVE_DEEP_SLEEP_DELAY_MS 500
#define MODULE_POWER_NONINTERACTIVE_LIGHT_SLEEP_DELAY_MS 200
#define MODULE_POWER_NONINTERACTIVE_DEEP_SLEEP_DELAY_MS 500

1
watchos2/Task_Battery.cpp

@ -39,7 +39,6 @@ public:
}
void draw(kernel_handle_t handle)
{
delay(100);
voltage = getBatteryVoltage();
// Main body
ui->fillRectangle(0, 0, 20, 10);

2
watchos2/__vm/Compile.vmps.xml

File diff suppressed because one or more lines are too long

2
watchos2/__vm/Upload.vmps.xml

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save