OS: Fix used resource debug prints
These methods were broken by 22419082d9
5 years ago and nobody complained, so maybe they're not so useful...
But at least this should restore them to a working state.
This commit is contained in:
parent
18fb2afcac
commit
8c3a6b10a9
3 changed files with 35 additions and 5 deletions
|
|
@ -178,7 +178,7 @@ static void _OS_printres(Object *p_obj) {
|
|||
return;
|
||||
}
|
||||
|
||||
String str = itos(res->get_instance_id()) + String(res->get_class()) + ":" + String(res->get_name()) + " - " + res->get_path();
|
||||
String str = vformat("%s - %s - %s", res->to_string(), res->get_name(), res->get_path());
|
||||
if (_OSPRF) {
|
||||
_OSPRF->store_line(str);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue