usbscale/scales.h

25 lines
412 B
C
Raw Normal View History

2011-02-14 20:20:19 -05:00
//
// scales.h
// ========
//
// This file is a list of all currently-recognized scales' vendor and product
// IDs.
//
// For example, the USB product 1446:6173 becomes {0x1446, 0x6173}
//
2011-02-13 20:39:00 -05:00
#include <stdint.h>
2011-01-29 19:32:52 -05:00
2011-02-14 20:20:19 -05:00
//
// **scalesc** should be kept updated with the length of the list.
//
2011-01-29 19:32:52 -05:00
int scalesc = 1;
2011-02-14 20:20:19 -05:00
//
// Scales
// ------
//
2011-02-13 20:39:00 -05:00
uint16_t scales[1][2] = {\
2011-02-14 20:20:19 -05:00
// Stamps.com 10-lb USB scale
{0x1446, 0x6a73}
2011-02-13 20:39:00 -05:00
};