-
Notifications
You must be signed in to change notification settings - Fork 13.4k
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
Control Zero F7 - Fix for voltage/current sensing #16590
Conversation
Fix to enable standard current/voltage sensor to display voltage and current readings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed .
@@ -175,7 +175,7 @@ | |||
#define BOARD_ADC_USB_CONNECTED (px4_arch_gpioread(GPIO_OTGFS_VBUS)) | |||
#define BOARD_ADC_USB_VALID BOARD_ADC_USB_CONNECTED | |||
#define BOARD_ADC_SERVO_VALID (1) /* never powers off the Servo rail */ | |||
#define BOARD_ADC_BRICK_VALID (!px4_arch_gpioread(GPIO_nVDD_BRICK1_VALID)) | |||
#define BOARD_ADC_BRICK_VALID (px4_arch_gpioread(GPIO_nVDD_BRICK1_VALID)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So GPIO_nVDD_BRICK1_VALID
is actually GPIO_VDD_BRICK1_VALID
? If so can you rename it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, it is renamed to GPIO_VDD_BRICK1_VALID (if I understood correctly that is what you were after but that would be different than the naming convention of everything else I could see).
Renaming GPIO_nVDD_BRICK1_VALID to GPIO_VDD_BRICK1_VALID
Renamed GPIO_nVDD_BRICK1_VALID to GPIO_VDD_BRICK1_VALID
Confirmed working?
|
Fix to enable standard current/voltage sensor to display voltage and current readings on Control Zero F7.