diff options
| -rw-r--r-- | tv_light/tv_light.ino | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tv_light/tv_light.ino b/tv_light/tv_light.ino index 655be24..0e82fe3 100644 --- a/tv_light/tv_light.ino +++ b/tv_light/tv_light.ino | |||
| @@ -288,7 +288,7 @@ void flipRelay(struct sensor_t *sensor, bool send_update) | |||
| 288 | 288 | ||
| 289 | inline uint8_t pwmValue(uint8_t level) | 289 | inline uint8_t pwmValue(uint8_t level) |
| 290 | { | 290 | { |
| 291 | const uint8_t pwmtable[101] PROGMEM = { | 291 | static const uint8_t pwmtable[101] PROGMEM = { |
| 292 | 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, | 292 | 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, |
| 293 | 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, | 293 | 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, |
| 294 | 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, | 294 | 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, |
