From 732d7aaededc72fd28eca57e5a5ffb89ab29a9ef Mon Sep 17 00:00:00 2001 From: Shlomo Hecht Date: Sun, 3 Nov 2019 11:05:41 +0200 Subject: add job end error codes. turn off safety alarms when cleared.improve idle/power on/off sequences --- Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Software/Embedded_SW/Embedded/Drivers/FPGA') diff --git a/Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c b/Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c index 1f871a4cc..636848c91 100644 --- a/Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c +++ b/Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c @@ -549,7 +549,7 @@ bool Is_FPGA_WD_Occurred() FPGA_WD_Occurred = true; //To recover: - //1. Disable all FPGA's WD: +/* //1. Disable all FPGA's WD: Control_WD(DISABLE,0); //2. Enqable all FPGA's WD: Control_WD(ENABLE,250); @@ -558,7 +558,7 @@ bool Is_FPGA_WD_Occurred() //4. Init Motor's Drivers: //Init_Motors_Drivers_After_FPGA_WD(); Motor_ReconfigAllMotors(); -/* + //OR //Reset MCU (will reset also the FPGA): //Power_Reset(); -- cgit v1.3.1