Skip to content

Commit 3b5c932

Browse files
committed
Fix typo
1 parent 99b892c commit 3b5c932

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/command.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -592,7 +592,7 @@ bool COMMAND::execute_command (int cmd, String cmd_params, tpipe output, level_a
592592
}
593593
if (channel==-1){
594594
for (uint8_t p = 0; p < 16;p++){
595-
if(ChannelAttached2Pin[p] = -1){
595+
if(ChannelAttached2Pin[p] == -1){
596596
channel = p;
597597
ChannelAttached2Pin[p] = pin;
598598
p = 16;

0 commit comments

Comments
 (0)