mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-01-25 01:04:44 +01:00
Acutally moved the mode and freq variables to the stack because why not
This commit is contained in:
parent
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user