Skip to content

Commit 981dd9b

Browse files
committed
Fix typo
1 parent f184208 commit 981dd9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zigbee/switch_cluster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ void switch_cluster_on_button_release(zigbee_switch_cluster *cluster)
321321
return;
322322
}
323323

324-
if (cluster->multistate_state != MULTISTATE_PRESS) {
324+
if (cluster->multistate_state != MULTISTATE_LONG_PRESS) {
325325
if (cluster->relay_mode == ZCL_ONOFF_CONFIGURATION_RELAY_MODE_SHORT) {
326326
switch_cluster_relay_action_on(cluster);
327327
}

0 commit comments

Comments
 (0)