Add warning objid property is obsolete

This commit is contained in:
fvanroie 2021-04-12 21:34:35 +02:00
parent e7ce3e0664
commit f9a78afbaf

View File

@ -818,6 +818,7 @@ void hasp_new_object(const JsonObject& config, uint8_t& saved_page_id)
config.remove(FPSTR(FP_OBJ));
}
} else {
LOG_WARNING(TAG_HASP, F("objid property is obsolete, use obj instead"));
sdbm = config[FPSTR(FP_OBJID)].as<uint8_t>();
config.remove(FPSTR(FP_OBJID));
}