Skip to content

Commit

Permalink
squash2
Browse files Browse the repository at this point in the history
  • Loading branch information
lthall committed Aug 14, 2024
1 parent 71b8003 commit cd6bbbd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Tools/AP_Periph/FSOPowerStack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1587,7 +1587,7 @@ void FSOPowerStack::update(bool battery_read)

report();

if (h16pro_fault()){
if (!h16pro_fault()){
GCS_SEND_TEXT(MAV_SEVERITY_INFO, "H16 Pro power fault");
}
}
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/defaults.parm
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ OUT1_FUNCTION 120
TEMP1_ADDR,64
TEMP1_BUS,0
TEMP1_SRC,3
TEMP1_SRC_ID,1
TEMP1_SRC_ID,10
TEMP1_TYPE,4

# DAC setup
Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_HAL_ChibiOS/hwdef/FSOPowerStack/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ PB4 H16_FAULT INPUT OPENDRAIN GPIO(64)
PB12 SWITCH_MAIN INPUT OPENDRAIN GPIO(65)
PB14 SWITCH_PAYLOAD INPUT OPENDRAIN GPIO(66)

define FSO_H16_FAULT_PIN 65
define FSO_H16_FAULT_PIN 64
define FSO_SWITCH_MAIN_PIN 65
define FSO_SWITCH_PAYLOAD_PIN 66

Expand Down

0 comments on commit cd6bbbd

Please sign in to comment.