From 0268fa50b012236013c5741783d1b0a478317d13 Mon Sep 17 00:00:00 2001 From: Eric Jiang Date: Mon, 14 Feb 2011 20:20:19 -0500 Subject: [PATCH] Updated documentation in scales.h --- scales.h | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/scales.h b/scales.h index 2a95ef3..6306608 100644 --- a/scales.h +++ b/scales.h @@ -1,14 +1,24 @@ -/* - * This file is a list of all currently-recognized scales, - * by their vendor and product IDs. - * - * For example, the USB product 1446:6173 becomes {0x1446, 0x6173} - */ +// +// 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 -// array length +// +// **scalesc** should be kept updated with the length of the list. +// int scalesc = 1; +// +// Scales +// ------ +// uint16_t scales[1][2] = {\ - {0x1446, 0x6a73} // Stamps.com USB scale + // Stamps.com 10-lb USB scale + {0x1446, 0x6a73} };