mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-29 06:06:40 +00:00
Fix attr_out_int bug HEX to DEC
This commit is contained in:
parent
08e1799219
commit
3bdf6b872d
@ -2529,7 +2529,7 @@ void attr_out_json(lv_obj_t* obj, const char* attribute, const char* data)
|
|||||||
void attr_out_int(lv_obj_t* obj, const char* attribute, int32_t val)
|
void attr_out_int(lv_obj_t* obj, const char* attribute, int32_t val)
|
||||||
{
|
{
|
||||||
char data[16];
|
char data[16];
|
||||||
itoa(val, data, sizeof(data));
|
itoa(val, data, DEC);
|
||||||
attr_out(obj, attribute, data, true);
|
attr_out(obj, attribute, data, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user