changeset 289:8466c994f3e6 div-fixes-6

cleanup: remove unused code While searching for simulator vs. real dive switching I found these 2 unused functions. Trivial cleanup. Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
author Jan Mulder <jlmulder@xs4all.nl>
date Mon, 29 Apr 2019 19:45:25 +0200
parents ba229a012ac7
children 5e0bb91d4a12
files Discovery/Inc/tHome.h Discovery/Src/tHome.c
diffstat 2 files changed, 0 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/Discovery/Inc/tHome.h	Mon Apr 29 19:43:05 2019 +0200
+++ b/Discovery/Inc/tHome.h	Mon Apr 29 19:45:25 2019 +0200
@@ -115,8 +115,6 @@
 void tHome_refresh(void);
 void tHome_sleepmode_fun(void);
 void set_globalState_tHome(void);
-void switch_to_SimData_tHome(void);
-void switch_to_RealData_tHome(void);
 void tHome_change_field_button_pressed(void);
 void tHome_change_customview_button_pressed(void);
 
--- a/Discovery/Src/tHome.c	Mon Apr 29 19:43:05 2019 +0200
+++ b/Discovery/Src/tHome.c	Mon Apr 29 19:45:25 2019 +0200
@@ -71,18 +71,6 @@
 }
 
 
-void switch_to_SimData_tHome(void)
-{
-    set_stateUsedToSim();
-}
-
-
-void switch_to_RealData_tHome(void)
-{
-    set_stateUsedToReal();
-}
-
-
 void tHome_init(void)
 {
     t7_init(); // standard + surface