Browse Source

changes function name keyboard_proc to keyboard_task

tags/v1.9
tmk 11 years ago
parent
commit
c845fd078c
4 changed files with 4 additions and 4 deletions
  1. 1
    1
      converter/usb_usb/main.cpp
  2. 1
    1
      protocol/iwrap/main.c
  3. 1
    1
      protocol/pjrc/main.c
  4. 1
    1
      protocol/vusb/main.c

+ 1
- 1
converter/usb_usb/main.cpp View File

DDRF = (1<<7); DDRF = (1<<7);
for (;;) { for (;;) {
PORTF ^= (1<<7); PORTF ^= (1<<7);
keyboard_proc();
keyboard_task();


timer = timer_read(); timer = timer_read();
usb_host.Task(); usb_host.Task();

+ 1
- 1
protocol/iwrap/main.c View File

if (host_get_driver() == vusb_driver()) if (host_get_driver() == vusb_driver())
usbPoll(); usbPoll();
#endif #endif
keyboard_proc();
keyboard_task();
#ifdef HOST_VUSB #ifdef HOST_VUSB
if (host_get_driver() == vusb_driver()) if (host_get_driver() == vusb_driver())
vusb_transfer_keyboard(); vusb_transfer_keyboard();

+ 1
- 1
protocol/pjrc/main.c View File



host_set_driver(pjrc_driver()); host_set_driver(pjrc_driver());
while (1) { while (1) {
keyboard_proc();
keyboard_task();
} }
} }

+ 1
- 1
protocol/vusb/main.c View File

// TODO: configuration process is incosistent. it sometime fails. // TODO: configuration process is incosistent. it sometime fails.
// To prevent failing to configure NOT scan keyboard during configuration // To prevent failing to configure NOT scan keyboard during configuration
if (usbConfiguration && usbInterruptIsReady()) { if (usbConfiguration && usbInterruptIsReady()) {
keyboard_proc();
keyboard_task();
} }
vusb_transfer_keyboard(); vusb_transfer_keyboard();
} }

Loading…
Cancel
Save