Skip to content

Commit

Permalink
AP_Scripting: corrected is_input value
Browse files Browse the repository at this point in the history
  • Loading branch information
pkocmoud committed May 15, 2024
1 parent ef86238 commit 785d178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/GPIO.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ void GPIO::pinMode(uint8_t pin, uint8_t pin_type)
break;
case 3:
g->mode = PAL_MODE_INPUT_PULLDOWN;
g->is_input = 0;
g->is_input = 1;
break;
}
#if defined(STM32F7) || defined(STM32H7) || defined(STM32F4) || defined(STM32G4) || defined(STM32L4) || defined(STM32L4PLUS)
Expand Down

0 comments on commit 785d178

Please sign in to comment.