Fixing connection to GP1212A02 not working any more except for auto-detect.
GP1212A02: Fixing clock character length for PM/AM modes.
1.1 --- a/FutabaGP1212A02.cpp Sun Aug 31 22:57:32 2014 +0200
1.2 +++ b/FutabaGP1212A02.cpp Sat Sep 06 13:28:22 2014 +0200
1.3 @@ -701,9 +701,11 @@
1.4 switch (aFormat)
1.5 {
1.6 case EClockDay12:
1.7 + return 13;
1.8 case EClockDay24:
1.9 return 10;
1.10 case EClock12:
1.11 + return 8;
1.12 case EClock24:
1.13 return 5;
1.14 }
2.1 --- a/MiniDisplay.cpp Sun Aug 31 22:57:32 2014 +0200
2.2 +++ b/MiniDisplay.cpp Sat Sep 06 13:28:22 2014 +0200
2.3 @@ -48,7 +48,9 @@
2.4 MiniDisplayDevice MiniDisplayOpen(TMiniDisplayType aType)
2.5 {
2.6 bool autoDetect=aType==EMiniDisplayAutoDetect;
2.7 - return MiniDisplayOpen(EMiniDisplayFutabaGP1212A01,autoDetect);
2.8 + //If we want auto detect we need to pass in our first display type
2.9 + //If we don't want auto detect we just pass in the given display type.
2.10 + return MiniDisplayOpen((autoDetect?EMiniDisplayFutabaGP1212A01:aType),autoDetect);
2.11 }
2.12
2.13