From 4cbd75bce27bfdc2e1e7668f471f8687372d5337 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Thu, 12 Jul 2018 17:28:59 +0300 Subject: fix bug in function Control_WD --- Software/Embedded_SW/Embedded/Drivers/FPGA/FPGA_GPIO/FPGA_GPIO.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Software/Embedded_SW/Embedded') 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 f5b898e2c..9324fcdbf 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 @@ -230,7 +230,7 @@ uint32_t Control_WD(bool IsEnable, unsigned char SetTimer_Steps100mSec) // Contr } else { - F2_Watchdog_reg = 0x40 | SetTimer_Steps100mSec; // Enable the watchdog + F2_Watchdog_reg = 0x4000 | SetTimer_Steps100mSec; // Enable the watchdog } return OK; } -- cgit v1.3.1