Add option to set frequency in json

This commit is contained in:
2022-10-18 11:05:05 +02:00
parent 596a30b76a
commit f718f82ad1
11 changed files with 71 additions and 13 deletions

17
app/include/Settings.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef SETTINGS_H_
#define SETTINGS_H_
#define FREQUENCY_DEFAULT 1
class Settings {
public:
Settings(int frequency);
int Frequency() const;
private:
void LogSettings();
int mFrequency;
};
#endif // SETTINGS_H_