mirror of
https://github.com/erjiang/usbscale.git
synced 2025-07-03 03:14:26 -06:00
Fixed array in scales.h
This commit is contained in:
parent
d862cd1e94
commit
a9190a5703
7
scales.h
7
scales.h
@ -4,10 +4,11 @@
|
|||||||
*
|
*
|
||||||
* For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
|
* For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
|
||||||
*/
|
*/
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
// array length
|
// array length
|
||||||
int scalesc = 1;
|
int scalesc = 1;
|
||||||
|
|
||||||
uint16_t scales[][] = {
|
uint16_t scales[1][2] = {\
|
||||||
{0x1446, 0x6173} // Stamps.com USB scale
|
{0x1446, 0x6a73} // Stamps.com USB scale
|
||||||
}
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user