projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos: print GPS state flags in GPS 'g' command
[fw/altos]
/
src
/
ao_product.c
diff --git
a/src/ao_product.c
b/src/ao_product.c
index b42e62c09a800c92644542a63795d59cb537c017..82d6298f2dbe4751b6de6bd496ea6412f1c9a2d8 100644
(file)
--- a/
src/ao_product.c
+++ b/
src/ao_product.c
@@
-21,7
+21,6
@@
/* Defines which mark this particular AltOS product */
/* Defines which mark this particular AltOS product */
-const uint16_t ao_serial_number = AO_iSerial_NUMBER;
const char ao_version[] = AO_iVersion_STRING;
const char ao_manufacturer[] = AO_iManufacturer_STRING;
const char ao_product[] = AO_iProduct_STRING;
const char ao_version[] = AO_iVersion_STRING;
const char ao_manufacturer[] = AO_iManufacturer_STRING;
const char ao_product[] = AO_iProduct_STRING;
@@
-29,7
+28,7
@@
const char ao_product[] = AO_iProduct_STRING;
#define LE_WORD(x) ((x)&0xFF),((uint8_t) (((uint16_t) (x))>>8))
/* USB descriptors in one giant block of bytes */
#define LE_WORD(x) ((x)&0xFF),((uint8_t) (((uint16_t) (x))>>8))
/* USB descriptors in one giant block of bytes */
-
const
uint8_t ao_usb_descriptors [] =
+
__code __at(0x00aa)
uint8_t ao_usb_descriptors [] =
{
/* Device descriptor */
0x12,
{
/* Device descriptor */
0x12,
@@
-40,7
+39,7
@@
const uint8_t ao_usb_descriptors [] =
0x00, /* bDeviceProtocol */
AO_USB_CONTROL_SIZE, /* bMaxPacketSize */
LE_WORD(0xFFFE), /* idVendor */
0x00, /* bDeviceProtocol */
AO_USB_CONTROL_SIZE, /* bMaxPacketSize */
LE_WORD(0xFFFE), /* idVendor */
- LE_WORD(
0x000A),
/* idProduct */
+ LE_WORD(
AO_idProduct_NUMBER),
/* idProduct */
LE_WORD(0x0100), /* bcdDevice */
0x01, /* iManufacturer */
0x02, /* iProduct */
LE_WORD(0x0100), /* bcdDevice */
0x01, /* iManufacturer */
0x02, /* iProduct */