Synchronizing with my work copy.
This commit is contained in:
parent
c67a4155d5
commit
2c955d6e3f
13 changed files with 194 additions and 67 deletions
|
@ -1,16 +1,23 @@
|
|||
#ifndef STRUCTGEN
|
||||
#include "usb.h"
|
||||
#endif
|
||||
#include <stdint.h>
|
||||
|
||||
struct usb_st_string_language_map
|
||||
{
|
||||
Uint16 lang_id;
|
||||
uint16_t lang_id;
|
||||
const struct usb_st_string_descriptor * const *descriptors;
|
||||
};
|
||||
|
||||
struct usb_st_string_languages
|
||||
{
|
||||
Uchar num_lang;
|
||||
Uchar max_index;
|
||||
uint8_t num_lang;
|
||||
uint8_t max_index;
|
||||
const struct usb_st_language_descriptor *lang_descr;
|
||||
const struct usb_st_string_language_map map[1];
|
||||
};
|
||||
|
||||
extern const struct usb_st_string_languages * const string_languages;
|
||||
|
||||
const uint8_t *
|
||||
usb_class_get_string_descriptor(uint16_t lang, uint8_t index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue