浏览代码

Fix for navigation and timer

Per Mårtensson 4 年之前
父节点
当前提交
7cb0996726
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 二进制
      nextion/currentranger.HMI
  2. 3 2
      src/main.cpp

二进制
nextion/currentranger.HMI


+ 3 - 2
src/main.cpp

@@ -26,7 +26,7 @@
 #include "EasyNextionLibrary.h"
 #endif
 // CurrentRanger Firmware Version
-#define FW_VERSION "1.1.0b"
+#define FW_VERSION "1.1.0c"
 
 //***********************************************************************************************************
 #define BIAS_LED       11
@@ -1201,6 +1201,7 @@ void trigger18(){
   }else{
     myNex.writeNum("stopstats.bco",NEX_BLUE);
     myNex.writeNum("startstats.bco",NEX_LIGHT_GREY);  
+
   }
   nex_page=6;
 }
@@ -1285,7 +1286,7 @@ void trigger35()
 }
 void update_current_limit()
 {
-  nex_timer_set= nex_timer_d0*1000+nex_timer_d1*100+nex_timer_d2*10+nex_timer_d0;
+  nex_timer_set= nex_timer_d0*1000+nex_timer_d1*100+nex_timer_d2*10+nex_timer_d3;
   Beep(20, false);
 }