skip frequ-measurement in standalone build

This commit is contained in:
MichaelDvP
2025-10-07 12:38:19 +02:00
parent eb14e89c35
commit aeee318cca
3 changed files with 9 additions and 1 deletions

View File

@@ -518,7 +518,7 @@ std::string calculate(const std::string & expr) {
#ifndef EMSESP_STANDALONE
stack.push_back(to_string(rhd * esp_random() / UINT32_MAX));
#else
stack.push_back(to_string(rhd * random()));
stack.push_back(to_string(rhd * rand() / RAND_MAX));
#endif
break;
}