jcrona / rf-ctrl

A command-line tool to control 433MHz OOK based devices
GNU General Public License v2.0
41 stars 5 forks source link

"Group ON" and "Group OFF" commands are reversed #1

Closed gpeltier closed 7 years ago

gpeltier commented 7 years ago

Suggestion: in rf-ctrl.c change

char *(rf_command_str[]) = {"OFF", "ON", "Group ON", "Group OFF", "Prog", "F1", "F2", "F3"}; char *(rf_cmdline_command_str[]) = { "off", "on", "gon", "goff", "prog", "f1", "f2", "f3"};

to:

char *(rf_command_str[]) = {"OFF", "ON", "Group OFF", "Group ON", "Prog", "F1", "F2", "F3"}; char *(rf_cmdline_command_str[]) = { "off", "on", "goff", "gon", "prog", "f1", "f2", "f3"};

jcrona commented 7 years ago

Good catch !

gpeltier commented 7 years ago

Thanks a lot ! By the way, this is a nice projec t!