Changeset b1bdc7a4 in mainline for uspace/srv/hid/kbd/port/adb.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/adb.c
r774fc85 rb1bdc7a4 49 49 static void adb_kbd_reg0_data(uint16_t data); 50 50 51 static int adb_port_init(void); 52 static void adb_port_yield(void); 53 static void adb_port_reclaim(void); 54 static void adb_port_write(uint8_t data); 55 56 kbd_port_ops_t adb_port = { 57 .init = adb_port_init, 58 .yield = adb_port_yield, 59 .reclaim = adb_port_reclaim, 60 .write = adb_port_write 61 }; 62 51 63 static int dev_phone; 52 64 53 65 #define NAME "kbd" 54 66 55 int kbd_port_init(void)67 static int adb_port_init(void) 56 68 { 57 69 const char *dev = "adb/kbd"; … … 78 90 } 79 91 80 void kbd_port_yield(void)92 static void adb_port_yield(void) 81 93 { 82 94 } 83 95 84 void kbd_port_reclaim(void)96 static void adb_port_reclaim(void) 85 97 { 86 98 } 87 99 88 void kbd_port_write(uint8_t data)100 static void adb_port_write(uint8_t data) 89 101 { 90 102 /*async_msg_1(dev_phone, CHAR_WRITE_BYTE, data);*/
Note:
See TracChangeset
for help on using the changeset viewer.