mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Изымаем частную реализацию общей функции
This commit is contained in:
@@ -3,23 +3,6 @@
|
|||||||
|
|
||||||
#include "CTBot.h"
|
#include "CTBot.h"
|
||||||
|
|
||||||
String uint64ToString(uint64_t input) {
|
|
||||||
String result = "";
|
|
||||||
uint8_t base = 10;
|
|
||||||
|
|
||||||
do {
|
|
||||||
char c = input % base;
|
|
||||||
input /= base;
|
|
||||||
|
|
||||||
if (c < 10)
|
|
||||||
c +='0';
|
|
||||||
else
|
|
||||||
c += 'A' - 10;
|
|
||||||
result = c + result;
|
|
||||||
} while (input);
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
class Telegram : public IoTItem {
|
class Telegram : public IoTItem {
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user