1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Go to file
Cristian Maglie f0cf13c89b HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor
In particular HIDDescriptorListNode.cb has been renamed to
HIDDescriptorListNode.descriptor because it contains decriptor data
and not callbacks.

Moreover the HID_Descriptor.descriptor field has been renamed
to HID_Descriptor.data so the structure has now two fields length
and data.

   typedef struct __attribute__((packed)) {
     uint16_t length;
     const void* data;
   } HID_Descriptor;

   class HIDDescriptorListNode {
   public:
     HIDDescriptorListNode *next = NULL;
     const HID_Descriptor *descriptor;
     HIDDescriptorListNode(const HID_Descriptor *d) : descriptor(d) { }
   };

This imply a change in the use of the node from:

  node->cb->lenght
  node->cd->descriptor

to

  node->descriptor->length
  node->descriptor->data
2015-09-22 16:49:14 +02:00
.settings Update eclipse java-formatter settings 2015-03-27 14:51:11 +01:00
app Examples from some libs have been retired 2015-09-22 09:10:29 +02:00
arduino-core Made an arduino-builder message easier to understand 2015-09-22 15:03:19 +02:00
build Updating arduino-builder to 1.0.0-beta11 2015-09-22 16:47:00 +02:00
hardware HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor 2015-09-22 16:49:14 +02:00
libraries HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor 2015-09-22 16:49:14 +02:00
.classpath Added proxy PAC file support functions 2015-08-21 08:41:50 +02:00
.gitignore New compiler 2015-09-14 15:21:15 +02:00
.project Fix eclipse project files 2012-01-11 14:18:48 +01:00
examples_formatter.conf Serial plotter: added comment to AnalogReadSerial. Fixes #3451 2015-07-06 15:27:07 +02:00
format.every.sketch.sh Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
lib_sync Added lib_sync, utility script 2015-04-23 17:46:20 +02:00
license.txt adding LGPL (a bit late, whoops). 2007-10-12 01:58:48 +00:00
README.md Due to website configuration changes, every url starting with http://arduino.cc has been changed to http://www.arduino.cc. Fixes #3191 2015-05-20 17:10:06 +02:00

Arduino

Installation

Detailed instructions are in reference/Guide_Windows.html and reference/Guide_MacOSX.html. For Linux, see the Arduino playground: http://www.arduino.cc/playground/Learning/Linux

Credits

Arduino is an open source project, supported by many.

The Arduino team is composed of Massimo Banzi, David Cuartielles, Tom Igoe, Gianluca Martino, Daniela Antonietti, and David A. Mellis.

Arduino uses the GNU avr-gcc toolchain, avrdude, avr-libc, and code from Processing and Wiring.

Icon and about image designed by ToDo