Commit a4806454 authored by Matthieu Cattin's avatar Matthieu Cattin

Change exeption level to critical if mezzanine is not present.

parent 35645883
......@@ -76,7 +76,7 @@ def main (default_directory='.'):
status = carrier_csr.rd_reg(CSR_STATUS)
print('carrier csr:%.8X') % status
if(status & STATUS_FMC_PRES):
raise PtsError ("Mezzanine not present or PRSNT_M2C_L faulty.")
raise PtsCritical ("Mezzanine not present or PRSNT_M2C_L faulty.")
if __name__ == '__main__' :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment