mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-01-29 01:59:08 +03:00
skip frequ-measurement in standalone build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user