Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/port/dummy.c
- Timestamp:
- 2011-06-11T19:48:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 56ad818
- Parents:
- 774fc85
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/kbd/port/dummy.c
r774fc85 rb1bdc7a4 38 38 #include <kbd.h> 39 39 40 int kbd_port_init(void) 40 static int dummy_port_init(void); 41 static void dummy_port_yield(void); 42 static void dummy_port_reclaim(void); 43 static void dummy_port_write(uint8_t data); 44 45 kbd_port_ops_t dummy_port = { 46 .init = dummy_port_init, 47 .yield = dummy_port_yield, 48 .reclaim = dummy_port_reclaim, 49 .write = dummy_port_write 50 }; 51 52 53 static int dummy_port_init(void) 41 54 { 42 55 return 0; 43 56 } 44 57 45 void kbd_port_yield(void)58 static void dummy_port_yield(void) 46 59 { 47 60 } 48 61 49 void kbd_port_reclaim(void)62 static void dummy_port_reclaim(void) 50 63 { 51 64 } 52 65 53 void kbd_port_write(uint8_t data)66 static void dummy_port_write(uint8_t data) 54 67 { 55 68 (void) data;
Note:
See TracChangeset
for help on using the changeset viewer.