Skip to content

Commit

Permalink
pat: fix temp and voltage strings
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Kadamathikuttiyil Karthikeyan Pillai <[email protected]>
  • Loading branch information
anishk-xlnx committed Dec 18, 2023
1 parent 2abf9a6 commit f3445e2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions examples/python/pat/pat20.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ def __init__(self):
"""
SYSMON
"""
self.sysmon.append(SysmonData("in_temp7_raw", "PS Temperature", "", P_TYPE.PD_TEMP))
self.sysmon.append(SysmonData("in_voltage10_raw", "VCCPSINTFP", "", P_TYPE.PD_FULL))
self.sysmon.append(SysmonData("in_voltage6_raw", "VCCO_PSDDR_504", "", P_TYPE.PD_FULL))
self.sysmon.append(SysmonData("in_voltage9_raw", "VCCPSINTLP", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage11_raw", "VCCPSAUX", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage13_raw", "VCCOPS3", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage14_raw", "VCCOPS0", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage15_raw", "VCCOPS1", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage16_raw", "VCCOPS2", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_temp7", "PS Temperature", "", P_TYPE.PD_TEMP))
self.sysmon.append(SysmonData("in_voltage10", "VCCPSINTFP", "", P_TYPE.PD_FULL))
self.sysmon.append(SysmonData("in_voltage6", "VCCO_PSDDR_504", "", P_TYPE.PD_FULL))
self.sysmon.append(SysmonData("in_voltage9", "VCCPSINTLP", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage11", "VCCPSAUX", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage13", "VCCOPS3", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage14", "VCCOPS0", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage15", "VCCOPS1", "", P_TYPE.PD_LOW))
self.sysmon.append(SysmonData("in_voltage16", "VCCOPS2", "", P_TYPE.PD_LOW))

def PullINA226Data(self, i2c):
for chip in self.chip_list:
Expand Down

0 comments on commit f3445e2

Please sign in to comment.