1
0
Fork 0

changes function name keyboard_proc to keyboard_task

This commit is contained in:
tmk 2012-10-07 11:09:40 +09:00
parent 4ae979f6ef
commit c845fd078c
4 changed files with 4 additions and 4 deletions

View file

@ -88,7 +88,7 @@ uint16_t timer;
DDRF = (1<<7);
for (;;) {
PORTF ^= (1<<7);
keyboard_proc();
keyboard_task();
timer = timer_read();
usb_host.Task();

View file

@ -166,7 +166,7 @@ int main(void)
if (host_get_driver() == vusb_driver())
usbPoll();
#endif
keyboard_proc();
keyboard_task();
#ifdef HOST_VUSB
if (host_get_driver() == vusb_driver())
vusb_transfer_keyboard();

View file

@ -86,6 +86,6 @@ int main(void)
host_set_driver(pjrc_driver());
while (1) {
keyboard_proc();
keyboard_task();
}
}

View file

@ -96,7 +96,7 @@ int main(void)
// TODO: configuration process is incosistent. it sometime fails.
// To prevent failing to configure NOT scan keyboard during configuration
if (usbConfiguration && usbInterruptIsReady()) {
keyboard_proc();
keyboard_task();
}
vusb_transfer_keyboard();
}