Bladeren bron

xhttp_pi: rpc commands updated to use rpl_printf()

Daniel-Constantin Mierla 11 jaren geleden
bovenliggende
commit
159c276036
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      modules/xhttp_pi/xhttp_pi.c

+ 2 - 2
modules/xhttp_pi/xhttp_pi.c

@@ -375,9 +375,9 @@ static const char *rpc_reload_doc[2] = {
 static void rpc_reload(rpc_t *rpc, void *c) {
 	lock_get(ph_lock);
 	if (0!=ph_init_cmds(&ph_framework_data, filename.s)) {
-		rpc->printf(c, "Reload failed");
+		rpc->rpl_printf(c, "Reload failed");
 	} else {
-		rpc->printf(c, "Reload OK");
+		rpc->rpl_printf(c, "Reload OK");
 	}
 	lock_release(ph_lock);
 	return;