diff options
author | Cristian Maglie <c.maglie@arduino.cc> | 2015-09-30 16:35:43 +0200 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-02 11:59:23 +0200 |
commit | 90652295956b6f4bcccb740aeb4f7c546327e499 (patch) | |
tree | d46ac6c9029afcebce9ced39a5ab7963b62dde13 /cores/arduino/new.h | |
parent | ab19daef2878e6fdbbe29f69dd0006bdb2508cc3 (diff) |
[PUSB] callbacks are now pure virtual methods
This change allows the compiler to handle callbacks resolution.
Callbacks now must be implemented on the class that extends
PUSBListNode and this is forced by compiler by means of pure
virtual methods.
Also the calls to HID.interface() and HID.endpoint() can now
be simplified to interface() and endpoint() respectively since
the methods are no more static.
Diffstat (limited to 'cores/arduino/new.h')
0 files changed, 0 insertions, 0 deletions