Skip to content

Commit

Permalink
(iop_sbusdbg) updated prnt handler format.
Browse files Browse the repository at this point in the history
  • Loading branch information
sp193 committed Jun 23, 2018
1 parent 7c46e23 commit 8b75799
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion iop/debug/iop_sbusdbg/src/sbus_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ iop_device_t tty_fsd =
(iop_device_ops_t *) &fsd_ops
};

void sprintf_putchar(char **string, int c)
void sprintf_putchar(void *context, int c)
{
char **string = (char **)context;

if(c < 0x100) { ((*string)++)[0] = c; }
else { (*string)[0] = 0; }
}
Expand Down

0 comments on commit 8b75799

Please sign in to comment.