This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Fix uninitialized muxes for dimmer lights (
#356
)
i18n
Xose Pérez
6 years ago
parent
cf39b710de
commit
d3edf9e7cd
2 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
code/espurna/libs/pwm.h
+1
-0
code/espurna/light.ino
+ 1
- 1
code/espurna/libs/pwm.h
View File
@ -9,7 +9,7 @@
/*NOTE!! : DO NOT CHANGE THIS FILE*/
/*SUPPORT UP TO 8 PWM CHANNEL*/
#
define PWM_CHANNEL_NUM_MAX 8
/
/
#
define
PWM_CHANNEL_NUM_MAX
8
struct
pwm_param
{
uint32
period
;
+ 1
- 0
code/espurna/light.ino
View File
@ -13,6 +13,7 @@ Copyright (C) 2016-2017 by Xose Pérez <xose dot perez at gmail dot com>
#
include
<vector>
#
if LIGHT_PROVIDER == LIGHT_PROVIDER_DIMMER
#
define PWM_CHANNEL_NUM_MAX LIGHT_CHANNELS
extern
"
C
"
{
#
include
"libs/pwm.h"
}
Write
Preview
Loading…
Cancel
Save