Merge pull request #6 from mlhnet/thumbDV_support

ThumbDB GUI Log Event fix
This commit is contained in:
Ed Gonzalez 2015-09-03 16:56:19 -05:00
commit a40983ada4
3 changed files with 13 additions and 5 deletions

View file

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.4.0.3")]
[assembly: AssemblyFileVersion("1.4.0.3")]
[assembly: AssemblyVersion("1.4.0.4")]
[assembly: AssemblyFileVersion("1.4.0.4")]

View file

@ -253,9 +253,13 @@ namespace CODEC2_GUI
// builder header
StringBuilder sb = new StringBuilder();
// is there a message to log
bool msg2snd = (messageInfo != null && messageSent == false);
// log info if we get header for third time or finally got message
bool hdr2snd = (headerInfo != null && headerSent == false && (headerCount > 0 || msg2snd));
// log info if we got header not logged AND (third header OR ending OR got message
bool hdr2snd = (headerInfo != null && headerSent == false && (headerCount > 3 || rxEnd || msg2snd));
if (hdr2snd || msg2snd)
sb.Append(DateTime.UtcNow.ToString("yyyy-MM-dd HH:mm:ss"));
if (hdr2snd)

View file

@ -1,7 +1,11 @@
;
; INNO Setup Compiler Script
; for Flex DSTAR Waveform and GUI
; Author: Mark Hanson, AA3RK
;
#define MyAppName "FlexRadio DSTAR Waveform"
#define MyAppVersion "1.4.0.3"
#define MyAppVersion "1.4.0.4"
#define MyAppPublisher "FlexRadio Systems, LLC"
#define MyAppURL "http://www.flexradio.com/"
#define MyAppExeName "ThumbDV_DSTAR_GUI.exe"