Update UCS-2 converter

This commit is contained in:
Sjef Verhoeven PE5PVB
2024-05-22 20:30:15 +02:00
parent cecb5e7740
commit 7d1ab31a17
2 changed files with 26 additions and 35 deletions
+6 -6
View File
@@ -721,15 +721,15 @@ class TEF6686 {
String convertToUTF8(const wchar_t* input);
String extractUTF8Substring(const String& utf8String, size_t start, size_t length, bool under);
String trimTrailingSpaces(String str);
String eRTconverter(const wchar_t* input);
String utf8ToUcs2String(const char* utf8);
String eRTconverter(const wchar_t* input);
String ucs2ToUtf8(const char* ucs2Input);
char ps_buffer[9];
char ps_buffer2[9];
char ptyn_buffer[9];
char eon_buffer[20][9];
bool ps_process;
bool pslong_process;
char eRT_buffer[129];
char eRT_buffer[129];
bool rt_process;
char rt_buffer[65];
char rt_buffer2[65];
@@ -740,7 +740,7 @@ class TEF6686 {
bool ABold;
bool afreset;
bool mpxmode;
bool _hasEnhancedRT;
bool _hasEnhancedRT;
char stationTextBuffer[65];
uint16_t piold;
bool rtABold;
@@ -765,7 +765,7 @@ class TEF6686 {
bool rdsDerrorThreshold;
bool packet0, packet1, packet2, packet3, packet0long, packet1long, packet2long, packet3long;
bool afmethodBprobe;
bool eRTcoding;
bool eRTcoding;
uint16_t rdsCold;
uint8_t af_counterb;
uint8_t af_number;
@@ -774,7 +774,7 @@ class TEF6686 {
uint16_t correctPIold;
uint8_t rtplusblock;
uint8_t DABAFblock;
uint8_t eRTblock;
uint8_t eRTblock;
uint8_t doublecounter;
uint16_t doubletestfreq;
};