Acutally moved the mode and freq variables to the stack because why not

pull/133/head
Ryzerth 2021-05-03 22:40:53 +02:00
rodzic 3225f15419
commit 754a9ac406
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -73,6 +73,8 @@ private:
}
void updatePresence() {
char freq[1024];
char mode[1024];
double selectedFreq = gui::freqSelect.frequency;
std::string selectedName = gui::waterfall.selectedVFO;
strcpy(mode, "Raw");
@ -134,8 +136,6 @@ private:
// Rich Presence
DiscordRichPresence presence;
double lastFreq;
char freq[1024];
char mode[1024];
std::string lastMode = "";
// Threading