Changeset ed88c8e in mainline for uspace/srv/hid/output/ctl


Ignore:
Timestamp:
2018-05-29T13:25:07Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fc0b2a8
Parents:
a57fa32
git-author:
Jiri Svoboda <jiri@…> (2018-05-28 17:24:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-29 13:25:07)
Message:

fputc, putchar vs. fputwc, putwchar.

Location:
uspace/srv/hid/output/ctl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/ctl/serial.c

    ra57fa32 red88c8e  
    5757        vt100_goto(state, col, row);
    5858        vt100_set_attr(state, field->attrs);
    59         vt100_putchar(state, field->ch);
     59        vt100_putwchar(state, field->ch);
    6060}
    6161
     
    122122};
    123123
    124 errno_t serial_init(vt100_putchar_t putchar_fn,
     124errno_t serial_init(vt100_putwchar_t putwchar_fn,
    125125    vt100_control_puts_t control_puts_fn, vt100_flush_t flush_fn)
    126126{
    127127        vt100_state_t *state =
    128             vt100_state_create(SERIAL_COLS, SERIAL_ROWS, putchar_fn,
     128            vt100_state_create(SERIAL_COLS, SERIAL_ROWS, putwchar_fn,
    129129            control_puts_fn, flush_fn);
    130130        if (state == NULL)
  • uspace/srv/hid/output/ctl/serial.h

    ra57fa32 red88c8e  
    3636#include "../proto/vt100.h"
    3737
    38 extern errno_t serial_init(vt100_putchar_t, vt100_control_puts_t, vt100_flush_t);
     38extern errno_t serial_init(vt100_putwchar_t, vt100_control_puts_t, vt100_flush_t);
    3939
    4040#endif
Note: See TracChangeset for help on using the changeset viewer.