Changeset bbc6277 in mainline for uspace/srv/hid/output/proto/vt100.c
- Timestamp:
- 2017-11-30T17:00:09Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5abaf7
- Parents:
- 7f345cd0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/output/proto/vt100.c
r7f345cd0 rbbc6277 139 139 140 140 vt100_state_t *vt100_state_create(sysarg_t cols, sysarg_t rows, 141 vt100_putchar_t putchar_fn, vt100_control_puts_t control_puts_fn) 141 vt100_putchar_t putchar_fn, vt100_control_puts_t control_puts_fn, 142 vt100_flush_t flush_fn) 142 143 { 143 144 vt100_state_t *state = malloc(sizeof(vt100_state_t)); … … 147 148 state->putchar = putchar_fn; 148 149 state->control_puts = control_puts_fn; 150 state->flush = flush_fn; 149 151 150 152 state->cols = cols; … … 228 230 } 229 231 232 void vt100_flush(vt100_state_t *state) 233 { 234 state->flush(); 235 } 236 230 237 /** @} 231 238 */
Note:
See TracChangeset
for help on using the changeset viewer.