kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Acutally moved the mode and freq variables to the stack because why not
rodzic
3225f15419
commit
754a9ac406
|
@ -73,6 +73,8 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void updatePresence() {
|
void updatePresence() {
|
||||||
|
char freq[1024];
|
||||||
|
char mode[1024];
|
||||||
double selectedFreq = gui::freqSelect.frequency;
|
double selectedFreq = gui::freqSelect.frequency;
|
||||||
std::string selectedName = gui::waterfall.selectedVFO;
|
std::string selectedName = gui::waterfall.selectedVFO;
|
||||||
strcpy(mode, "Raw");
|
strcpy(mode, "Raw");
|
||||||
|
@ -134,8 +136,6 @@ private:
|
||||||
// Rich Presence
|
// Rich Presence
|
||||||
DiscordRichPresence presence;
|
DiscordRichPresence presence;
|
||||||
double lastFreq;
|
double lastFreq;
|
||||||
char freq[1024];
|
|
||||||
char mode[1024];
|
|
||||||
std::string lastMode = "";
|
std::string lastMode = "";
|
||||||
|
|
||||||
// Threading
|
// Threading
|
||||||
|
|
Ładowanie…
Reference in New Issue