phaser: print gw_rev in debug mode

This commit is contained in:
Marius Weber 2021-05-08 14:04:35 +01:00
parent c7e992e26d
commit eb477ee06b
1 changed files with 3 additions and 0 deletions

View File

@ -186,6 +186,9 @@ class Phaser:
is_baseband = hw_rev & PHASER_HW_REV_VARIANT
gw_rev = self.read8(PHASER_ADDR_GW_REV)
if debug:
print(gw_rev)
self.core.break_realtime()
delay(.1*ms) # slack
# allow a few errors during startup and alignment since boot