summaryrefslogtreecommitdiff
path: root/src/components/brightness/BrightnessController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-04-12 04:13:24 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-04-12 04:13:24 (GMT)
commitd3c01a4af9cc55aa51c13e629c262acd245cf82e (patch)
tree9c10d27b3c042628c6ad5108f0ac4e24fe1fc9b2 /src/components/brightness/BrightnessController.h
parent502dfad3d3dd062b37722ea65ec42908139b2e17 (diff)
Pwm backlight, code adapted from InfiniTime github pull request 'Add PWM Backlight'
Diffstat (limited to 'src/components/brightness/BrightnessController.h')
-rw-r--r--src/components/brightness/BrightnessController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/brightness/BrightnessController.h b/src/components/brightness/BrightnessController.h
index 31ef40a..b8529d5 100644
--- a/src/components/brightness/BrightnessController.h
+++ b/src/components/brightness/BrightnessController.h
@@ -7,6 +7,8 @@ namespace Pinetime {
class BrightnessController {
public:
void Init();
+ private:
+ uint16_t pwmSequence[1] = {80};
};
}
}