diff --git a/ais_charset.c b/ais_charset.c index a487e3cc7..72deaa96b 100644 --- a/ais_charset.c +++ b/ais_charset.c @@ -1,3 +1,9 @@ #include "ais_charset.h" -char ais_charset[64] = "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_ !\"#$%&'()*+,-./0123456789:;<=>?"; +char ais_charset[64] = { + '@','A','B','C','D','E','F','G','H','I','J','K','L','M','N','O', + 'P','Q','R','S','T','U','V','W','X','Y','Z','[','\\',']','^','_', + ' ','!','"','#','$','%','&','\'','(',')','*','+', + ',', '-', '.', '/', '0','1','2','3','4','5','6','7','8','9', + ':',';','<','=','>','?' +}; diff --git a/interactive.c b/interactive.c index 8761c955d..f56146d52 100644 --- a/interactive.c +++ b/interactive.c @@ -140,7 +140,7 @@ void interactiveShowData(void) { static bool need_clear = true; uint64_t now = mstime(); char progress; - char spinner[4] = "|/-\\"; + char spinner[4] = { '|', '/', '-', '\\' }; int valid = 0; double signalMax = -100.0; double signalMin = +100.0;