mirror of https://github.com/erjiang/usbscale
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
412 B
C
25 lines
412 B
C
//
|
|
// 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}
|
|
//
|
|
#include <stdint.h>
|
|
|
|
//
|
|
// **scalesc** should be kept updated with the length of the list.
|
|
//
|
|
int scalesc = 1;
|
|
|
|
//
|
|
// Scales
|
|
// ------
|
|
//
|
|
uint16_t scales[1][2] = {\
|
|
// Stamps.com 10-lb USB scale
|
|
{0x1446, 0x6a73}
|
|
};
|