Samuel Mokrani
/
USBHostHub_HelloWorld
USBHostHub Hello World
Diff: main.cpp
- Revision:
- 1:b6239a365c4a
- Parent:
- 0:b755444e7ddd
diff -r b755444e7ddd -r b6239a365c4a main.cpp --- a/main.cpp Tue Mar 12 17:39:44 2013 +0000 +++ b/main.cpp Wed Mar 13 10:37:38 2013 +0000 @@ -40,7 +40,7 @@ Thread::wait(500); // when connected, attach handler called on mouse event - mouse.attach(onMouseEvent); + mouse.attachEvent(onMouseEvent); // wait until the mouse is disconnected while(mouse.connected())