Skip to content

Commit 069ec7a

Browse files
committed
v3.0.2.0 (07 April, 2019)
* Change: Speak no negative values (For example with connection problems)
1 parent e944407 commit 069ec7a

File tree

4 files changed

+14
-7
lines changed

4 files changed

+14
-7
lines changed

GlucoTT.au3

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#AutoIt3Wrapper_Icon=Icon.ico
33
#AutoIt3Wrapper_UseX64=n
44
#AutoIt3Wrapper_Res_Description=A simple discrete glucose tooltip for Nightscout under Windows
5-
#AutoIt3Wrapper_Res_Fileversion=3.0.1.0
5+
#AutoIt3Wrapper_Res_Fileversion=3.0.2.0
66
#AutoIt3Wrapper_Res_LegalCopyright=Mathias Noack
77
#AutoIt3Wrapper_Res_Language=1031
88
#AutoIt3Wrapper_Run_Tidy=y
@@ -228,7 +228,7 @@ Func _Tooltip()
228228
If StringRegExp($fIntervalRound, '(.)') Then
229229
$iIntervalRound = Int($fIntervalRound + 1)
230230
Else
231-
$iIntervalRound = Int($iMinInterval)
231+
$iIntervalRound = $iMinInterval
232232
EndIf
233233
If StringRegExp($fIntervalRound, '(#INF)') Then
234234
$iIntervalRound = Int(2)
@@ -382,7 +382,11 @@ Func _Tooltip()
382382
If $iCheckboxTextToSpeech = 1 Then
383383
; Read every zero minutes
384384
If $iMin == 0 Then
385-
_SpeechObject_Say($oSapi, $sGlucoseTextToSpeech)
385+
If StringInStr($sGlucoseTextToSpeech, "-") Then
386+
; Speak no negative values
387+
Else
388+
_SpeechObject_Say($oSapi, $sGlucoseTextToSpeech)
389+
EndIf
386390
EndIf
387391
EndIf
388392
Sleep($i_MsWait)
@@ -597,4 +601,4 @@ Func _CgmUpdateCheck()
597601
_DebugReportVar("$sReturnedCgmUpdateCompare", $sReturnedCgmUpdateCompare)
598602
_DebugReportVar("$iCheckMerge", $iCheckMerge)
599603
_WinHttpCloseHandle($hConnectCgmUpdateCompare)
600-
EndFunc
604+
EndFunc

GlucoTT.exe

0 Bytes
Binary file not shown.

Update/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
ChangeLog
22

33
Summarized history of the changes:
4+
v3.0.2.0 (07 April, 2019)
5+
Change: Speak no negative values (For example with connection problems)
6+
47
v3.0.1.0 (07 February, 2019)
58
Change: Bugfix for "$i_fGlucoseResult" < "$i_fLastGlucoseResult"
69

Update/CheckUpdate.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[GlucoTT.exe]
2-
version=3.0.1.0
3-
date=2019/02/07 18:30
2+
version=3.0.2.0
3+
date=2019/04/07 21:12
44
Filesize=1173504
5-
CRC=F28B622A
5+
CRC=60A988B8
66
download=https://github.com/Matze1985/GlucoTT/raw/master/GlucoTT.exe
77
changes=https://raw.githubusercontent.com/Matze1985/GlucoTT/master/Update/ChangeLog.txt

0 commit comments

Comments
 (0)