1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00
Arduino/libraries
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
..
Audio Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Esplora Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00
Ethernet Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00
GSM Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00
Keyboard HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor 2015-09-22 16:49:14 +02:00
LiquidCrystal LiquidCrystal: bumb version to 1.0.3 2015-07-09 15:04:26 +02:00
Mouse HID: Renamed fields in HIDDescriptorListNode and HID_Descriptor 2015-09-22 16:49:14 +02:00
Scheduler Fixed typo in Scheduler header guard. 2015-07-03 13:10:33 -04:00
SD Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00
Servo Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
Stepper Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
TFT Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00
USBHost Examples: mass code format. See example_formatter.conf 2015-07-06 15:19:05 +02:00
WiFi Modified reference to Leonardo only in the examples 2015-09-21 14:58:58 +02:00