int len= params[2]->value.data_list.len;
if (len == 0)
- con->printf("Error: no data\n");
+ con->dd_printf("Error: no data\n");
else
{
int i;
}
}
else
- con->printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
+ con->dd_printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
return(DD_FALSE);;
}
mem->dump(mem_addr, mem_addr, 1, con);
}
else
- con->printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
+ con->dd_printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
return(DD_FALSE);;
}
l= params[1]->value.number;
}
else
- con->printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
+ con->dd_printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
if (pn < 0 ||
pn > 3)
- con->printf("Error: wrong port\n");
+ con->dd_printf("Error: wrong port\n");
else
uc->port_pins[pn]= l;
return(DD_FALSE);;
s= params[1]->value.string.string;
}
else
- con->printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
+ con->dd_printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
if (!id ||
!s)
{
- con->printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
+ con->dd_printf("%s\n", short_help?short_help:"Error: wrong syntax\n");
return(DD_FALSE);
}