Skip to content

Commit 07c217a

Browse files
committed
fix basic version for termostat
1 parent 9eae388 commit 07c217a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

hardware/arduino/zunoG2/cores/LLCore/ZUNO_DependenciesCC.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,11 @@ const _ZUNOChannelCCS_t __cc_types[] =
9999
#if defined(WITH_CC_THERMOSTAT_MODE) || defined(WITH_CC_THERMOSTAT_SETPOINT) || defined(WITH_CC_THERMOSTAT_OPERATING_STATE) || defined(WITH_CC_THERMOSTAT_FAN_MODE) || defined(WITH_CC_THERMOSTAT_FAN_STATE)
100100
{
101101
.type = ZUNO_THERMOSTAT_CHANNEL_NUMBER,
102-
.flags = CHANNEL_TYPE_FLAGS_UNSECURE_AVALIABLE,
102+
.flags = CHANNEL_TYPE_FLAGS_UNSECURE_AVALIABLE
103+
#if defined(WITH_CC_THERMOSTAT_MODE)
104+
| CHANNEL_TYPE_FLAGS_BASIC_MAPPER
105+
#endif
106+
,
103107
.num_ccs = 0
104108
#if defined(WITH_CC_THERMOSTAT_MODE)
105109
+ 1

0 commit comments

Comments
 (0)