From: b <rowerynaksiezycu@gmail.com>
Date: Sun, 3 Jan 2021 14:48:14 +0000 (+0100)
Subject: fix calibration
X-Git-Tag: v2.3
X-Git-Url: http://bicyclesonthemoon.info/git-projects/?a=commitdiff_plain;ds=sidebyside;p=staf%2Fstaf

fix calibration
---

diff --git a/main.c b/main.c
index 53eb7a9..0bab5d5 100644
--- a/main.c
+++ b/main.c
@@ -1,9 +1,9 @@
-// SilentTimer Action Figure software, v2.2
+// SilentTimer Action Figure software, v2.3
 // main.c
 // The main c file.
 // 
-// 14.12.2020
-// Copyright (C) 2014-2017, 2020  Balthasar Szczepański
+// 03.01.2021
+// Copyright (C) 2014-2017, 2020-2021  Balthasar Szczepański
 // 
 // This program is free software: you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
@@ -993,7 +993,7 @@ void showvalue () //determine what to show on display
 			break;
 		case MODE_VER:
 			dispvalue[4] = SYMB_NUL;
-			dispvalue[5] = SYMB_2;
+			dispvalue[5] = SYMB_3;
 			dispvalue[6] = SYMB_2;
 			dispvalue[7] = SYMB_NUL;
 			dot |= 0x02; //.
@@ -1200,7 +1200,7 @@ int main( void )
 	//spi(RTC_READ,0x08,inbuf,outbuf,1);
 	outbuf[0]=
 		0x40| //squarewave enable
-		0x04; //1Hz
+		0x00; //1Hz
 	//no hardware alarms :(
 	spi(RTC_WRITE,0x08,inbuf,outbuf,1);
 	
@@ -1722,7 +1722,7 @@ int main( void )
 						sendhex(run);
 						break;
 					case 'M': //get version
-						sendhex(2); //vL
+						sendhex(3); //vL
 						sendhex(2); //vH
 						break;
 					case 'N': //get pinout