changeset 166:586104541d77 main

fix the constants for the "load" command (wasn't actually a "load" operation).
author Bob Cook <bob@bobcookdev.com>
date Tue, 01 Jan 2013 11:24:30 -0800
parents ad7069f53e31
children 827befd71be0
files main/packages/avr/sensors/ls7366/ls7366.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/main/packages/avr/sensors/ls7366/ls7366.cpp	Thu Dec 27 15:12:51 2012 -0800
+++ b/main/packages/avr/sensors/ls7366/ls7366.cpp	Tue Jan 01 11:24:30 2013 -0800
@@ -132,8 +132,8 @@
 const uint8_t LS7366_CMD_WRITE_MDR1 = 0b10010000;
 const uint8_t LS7366_CMD_WRITE_DTR  = 0b10011000;
 
-const uint8_t LS7366_CMD_LOAD_CNTR  = 0b10100000;
-const uint8_t LS7366_CMD_LOAD_OTR   = 0b10101000;
+const uint8_t LS7366_CMD_LOAD_CNTR  = 0b11100000;
+const uint8_t LS7366_CMD_LOAD_OTR   = 0b11101000;
 
 // ----------------------------------------------------------------------------------------