aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Embedded_SW/Embedded/Main.c
diff options
context:
space:
mode:
authorShlomo Hecht <shlomo@twine-s.com>2020-03-25 16:20:57 +0200
committerShlomo Hecht <shlomo@twine-s.com>2020-03-25 16:20:57 +0200
commite094952954ec5b1f643bc42581cfe46be15816e0 (patch)
tree62321795d68a822a92a64e61bfc2f48716132f65 /Software/Embedded_SW/Embedded/Main.c
parenta7b5371f0813281df0993cfb3ff1aa75634274d4 (diff)
downloadTango-e094952954ec5b1f643bc42581cfe46be15816e0.tar.gz
Tango-e094952954ec5b1f643bc42581cfe46be15816e0.zip
Version 1.4.6.19 new RML parameters, tension spring handling, some bug fixing
Diffstat (limited to 'Software/Embedded_SW/Embedded/Main.c')
-rw-r--r--Software/Embedded_SW/Embedded/Main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Software/Embedded_SW/Embedded/Main.c b/Software/Embedded_SW/Embedded/Main.c
index 845cd2ba8..2a1913b0a 100644
--- a/Software/Embedded_SW/Embedded/Main.c
+++ b/Software/Embedded_SW/Embedded/Main.c
@@ -108,6 +108,7 @@ static volatile uint32_t g_ui32Flags;
bool Machine_Idle_Mode = false;
+extern bool PP_Machine;
F2_CTRL_REG F2_CTRL_Reg;
F1_GPO_REG F1_GPO_Reg;
@@ -268,7 +269,10 @@ int main(void)
Check_Head_Type_Via_EEPROM();
//Trigger_Check_WHS_Type_Via_EEPROM();
Check_WHS_Type_Via_EEPROM();
-
+ if ((Head_Type >= HEAD_TYPE_UNKNOWN_WITH_CARD)&&(WHS_Type == WHS_TYPE_NEW))
+ {
+ PP_Machine = true;
+ }
#ifndef EVALUATION_BOARD
STATUS_RED_LED_ON;
STATUS_GREEN_LED_ON;