From bf1d78a8407a3fa41db1177b503b384e863bab2b Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Wed, 5 Jan 2011 10:40:17 +0100 Subject: cesar/hal/phy: add hardware watchdog, workaround RESYS freeze, closes #2156 If hardware watchdog is triggered, this means that hardware is in an undefined state. This commit workarounds RESYS freeze after PRP lost, maria:#927. This works by checking RESYS state and restart it to generate an end of frame signal to PRATIC. --- cesar/hal/phy/src/pratic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'cesar/hal/phy/src/pratic.c') diff --git a/cesar/hal/phy/src/pratic.c b/cesar/hal/phy/src/pratic.c index 178e319dc7..b1869d9b94 100644 --- a/cesar/hal/phy/src/pratic.c +++ b/cesar/hal/phy/src/pratic.c @@ -17,6 +17,7 @@ * - 4: PRP/RX ACTIVATE * - 5: extra timer * - 6: FC 1.0 creation + * - 7: watchdog * * See also access.c. */ -- cgit v1.2.3