mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 14:12:16 +03:00
Замена ulong на unsigned long
This commit is contained in:
@@ -39,14 +39,14 @@ class RTC : public IoTItem {
|
||||
return this;
|
||||
}
|
||||
|
||||
ulong getRtcUnixTime() {
|
||||
unsigned long getRtcUnixTime() {
|
||||
return _watch->gettimeUnix();
|
||||
}
|
||||
|
||||
void onModuleOrder(String &key, String &value) {
|
||||
if (key == "setUTime") {
|
||||
char *stopstring;
|
||||
ulong ut = strtoul(value.c_str(), &stopstring, 10);
|
||||
unsigned long ut = strtoul(value.c_str(), &stopstring, 10);
|
||||
_watch->settimeUnix(ut);
|
||||
SerialPrint("i", F("RTC"), "Устанавливаем время: " + value);
|
||||
} else if (key == "setSysTime") {
|
||||
|
||||
Reference in New Issue
Block a user