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

This commit is contained in:
Ryzerth 2021-05-03 22:40:53 +02:00
parent 3225f15419
commit 754a9ac406

View File

@ -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