Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix $.POL change that broke inputs w/ DEVICE.FLIP #182

Merged
merged 1 commit into from Jul 12, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -461,7 +461,7 @@ void handler_MscConnect(int32_t data) {
void handler_Trigger(int32_t data) {
u8 input = device_config.flip ? 7 - data : data;
if (!ss_get_mute(&scene_state, input)) {
bool tr_state = gpio_get_pin_value(A00 + input);
bool tr_state = gpio_get_pin_value(A00 + data);
if (tr_state) {
if (scene_state.variables.script_pol[input] & 1) {
run_script(&scene_state, input);
ProTip! Use n and p to navigate between commits in a pull request.