mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-10 07:05:36 +00:00
App warnings fixed. (#1118)
This commit is contained in:
@ -1026,7 +1026,7 @@ int JSON_ProcessCommandReply(const char* cmd, const char* arg, void* request, js
|
||||
#if ENABLE_DRIVER_TUYAMCU
|
||||
else if (!wal_strnicmp(cmd, "Dp", 2)) {
|
||||
int id = -1;
|
||||
if (isdigit(cmd[2])) {
|
||||
if (isdigit((int)cmd[2])) {
|
||||
sscanf(cmd + 2, "%i", &id);
|
||||
}
|
||||
http_obk_json_dps(id,request, printer);
|
||||
|
||||
Reference in New Issue
Block a user