[gnome-color-manager] huey: add two epoch times in the only places they fit
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] huey: add two epoch times in the only places they fit
- Date: Sun, 1 Aug 2010 17:32:31 +0000 (UTC)
commit 528a31d6d7fcf145c8fad2d06a00511b75b2f495
Author: Richard Hughes <richard hughsie com>
Date: Sun Aug 1 18:05:42 2010 +0100
huey: add two epoch times in the only places they fit
libcolor-glib/gcm-sensor-huey.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/libcolor-glib/gcm-sensor-huey.c b/libcolor-glib/gcm-sensor-huey.c
index 752e494..f78f57a 100644
--- a/libcolor-glib/gcm-sensor-huey.c
+++ b/libcolor-glib/gcm-sensor-huey.c
@@ -314,17 +314,19 @@ G_DEFINE_TYPE (GcmSensorHuey, gcm_sensor_huey, GCM_TYPE_SENSOR)
* 0x [serial-number.][matrix1.......................................|
* 1x ...............................................................|
* 2x .......] |
- * 3x [matrix2...............................|
+ * 3x [manuf-time1...][matrix2...............................|
* 4x ...............................................................|
- * 5x ...........................................] |
+ * 5x .......................................][manuf-time2...] |
* 6x [calib_vector......................|
- * 7x ...........] |
+ * 7x ...........] [unlock-string.....] |
* 8x |
* 9x [calib_value...] |
*/
#define HUEY_EEPROM_ADDR_SERIAL 0x00 /* 4 bytes */
#define HUEY_EEPROM_ADDR_MATRIX1 0x04 /* 36 bytes */
+#define HUEY_EEPROM_ADDR_MANUFACTURE_TIME1 0x32 /* 4 bytes, typically ~2009 */
#define HUEY_EEPROM_ADDR_MATRIX2 0x36 /* 36 bytes */
+#define HUEY_EEPROM_ADDR_MANUFACTURE_TIME2 0x5a /* 4 bytes, typically ~2009 */
#define HUEY_EEPROM_ADDR_CALIB_VECTOR 0x67 /* 12 bytes */
#define HUEY_EEPROM_ADDR_UNLOCK 0x7a /* 5 bytes */
#define HUEY_EEPROM_ADDR_CALIB_VALUE 0x94 /* 4 bytes */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]