mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-11 18:29:52 +03:00
upgrade mui v7, fix makefile build
This commit is contained in:
@@ -530,7 +530,11 @@ std::string calculate(const std::string & expr) {
|
||||
stack.push_back(to_hex(static_cast<int>(rhd)));
|
||||
break;
|
||||
case 'd':
|
||||
#ifndef EMSESP_STANDALONE
|
||||
stack.push_back(to_string(rhd * esp_random() / UINT32_MAX));
|
||||
#else
|
||||
stack.push_back(to_string(rhd * random()));
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user