correction error text with winscp

This commit is contained in:
Vincent-FK 2020-01-14 08:58:23 +08:00
parent 83f4758c24
commit edd81b6042

View File

@ -149,7 +149,8 @@ static void find_and_call_mapping_function(int idx_gpio_interrupted,
}
// Check if all other pins of current mapping are activated or were already activated in previous mask
if(!mask_gpio_values[current->pins_idx[i]] && gpios_pins_active_high[current->pins_idx[i]]){
if( (!mask_gpio_values[current->pins_idx[i]] && gpios_pins_active_high[current->pins_idx[i]]) ||
(mask_gpio_values[current->pins_idx[i]] && !gpios_pins_active_high[current->pins_idx[i]]) ){
all_gpio_activated_in_mapping = false;
}
}