Skip to content

Commit

Permalink
Set Temperature Senor prams
Browse files Browse the repository at this point in the history
  • Loading branch information
jamming committed Jul 31, 2024
1 parent dd0b5a4 commit 88b5725
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
3 changes: 3 additions & 0 deletions libraries/AP_HAL_ChibiOS/hwdef/HolybroF4_PMU/defaults.parm
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Enable TYTS03
TEMP1_TYPE 4
TEMP1_SRC 3
TEMP1_SRC_ID 1


12 changes: 2 additions & 10 deletions libraries/AP_HAL_ChibiOS/hwdef/HolybroF4_PMU/hwdef.dat
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,8 @@ define AP_BATT_CURR_AMP_OFFSET_DEFAULT 0.409
# ------------------ Temperature Sensor -----------------------
define AP_TEMPERATURE_SENSOR_ENABLED 1
define AP_TEMPERATURE_SENSOR_TSYS03_ENABLED 1
#define AP_TEMPERATURE_SENSOR_I2C_ADDR_DEFAULT 64
#define AP_TEMPERATURE_SENSOR_I2C_BUS_DEFAULT 0
#define AP_TEMPERATURE_SENSOR_TEMP1_TYPE 4
define HAL_TEMP1_TYPE 4
define HAL_TEMP1_ADDR 64
define HAL_TEMP1_BUS 0
define HAL_TEMP1_SRC 3
define HAL_TEMP1_SRC_ID 1


define AP_TEMPERATURE_SENSOR_I2C_ADDR_DEFAULT 64
define AP_TEMPERATURE_SENSOR_I2C_BUS_DEFAULT 0



0 comments on commit 88b5725

Please sign in to comment.