Skip to content

Commit

Permalink
Correct polarity on GPIO_VDD_BRICK_VALID
Browse files Browse the repository at this point in the history
  • Loading branch information
David Sidrane committed Mar 7, 2017
1 parent c715228 commit 96830e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/boards/px4fmu-v4pro/board_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -325,8 +325,8 @@ __BEGIN_DECLS
* provides the true logic GPIO BOARD_ADC_xxxx macros.
*/
#define BOARD_ADC_USB_CONNECTED (px4_arch_gpioread(GPIO_OTGFS_VBUS))
#define BOARD_ADC_BRICK_VALID (px4_arch_gpioread(GPIO_VDD_BRICK_VALID))
#define BOARD_ADC_BRICK2_VALID (px4_arch_gpioread(GPIO_VDD_BRICK2_VALID))
#define BOARD_ADC_BRICK_VALID (!px4_arch_gpioread(GPIO_VDD_BRICK_VALID))
#define BOARD_ADC_BRICK2_VALID (!px4_arch_gpioread(GPIO_VDD_BRICK2_VALID))
#define BOARD_ADC_SERVO_VALID (1)
#define BOARD_ADC_PERIPH_5V_OC (!px4_arch_gpioread(GPIO_VDD_5V_PERIPH_OC))
#define BOARD_ADC_HIPOWER_5V_OC (!px4_arch_gpioread(GPIO_VDD_5V_HIPOWER_OC))
Expand Down

0 comments on commit 96830e4

Please sign in to comment.