This website works better with JavaScript.
Home
Explore
Help
Sign In
abhas
/
esphome-xiaomi_bslamp2
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
16
Wiki
Activity
Browse Source
Make Component parent class public.
pull/52/merge
Maurice Makaay
3 years ago
parent
11e00c9d34
commit
6c21db7bc3
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
components/xiaomi_bslamp2/light_hal.h
+ 1
- 1
components/xiaomi_bslamp2/light_hal.h
View File
@ -36,7 +36,7 @@ class GPIOOutputValues {
void
log
(
const
char
*
prefix
)
{
ESP_LOGD
(
TAG
,
"
%s: RGB=[%f,%f,%f], white=%f
"
,
prefix
,
red
,
green
,
blue
,
white
)
;
}
void
log
(
const
char
*
prefix
)
{
ESP_LOGD
(
TAG
,
"
%s: RGB=[%f,%f,%f], white=%f
"
,
prefix
,
red
,
green
,
blue
,
white
)
;
}
}
;
}
;
class
LightHAL
:
Component
,
public
GPIOOutputValues
{
class
LightHAL
:
public
Component
,
public
GPIOOutputValues
{
public
:
public
:
void
set_red_pin
(
ledc
:
:
LEDCOutput
*
pin
)
{
red_pin_
=
pin
;
}
void
set_red_pin
(
ledc
:
:
LEDCOutput
*
pin
)
{
red_pin_
=
pin
;
}
void
set_green_pin
(
ledc
:
:
LEDCOutput
*
pin
)
{
green_pin_
=
pin
;
}
void
set_green_pin
(
ledc
:
:
LEDCOutput
*
pin
)
{
green_pin_
=
pin
;
}
Write
Preview
Loading…
Cancel
Save