From 368f4dcca9f8fdadfee527345b59f7a7ba6d6367 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Sat, 3 Dec 2016 21:16:13 -0500 Subject: Update tools encode a 2.5 MHz signal with the AVR. --- src/survive_data.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/survive_data.c') diff --git a/src/survive_data.c b/src/survive_data.c index 52c7c12..caa6eeb 100644 --- a/src/survive_data.c +++ b/src/survive_data.c @@ -83,7 +83,7 @@ static void handle_watchman( struct SurviveObject * w, uint8_t * readdata ) uint8_t startread[29]; memcpy( startread, readdata, 29 ); -#if 1 +#if 0 printf( "DAT: " ); for( i = 0; i < 29; i++ ) { @@ -209,7 +209,7 @@ static void handle_watchman( struct SurviveObject * w, uint8_t * readdata ) int mytime = (time1<<24)|(time2<<16)|(readdata[4]<<8)|(readdata[5]); int diff = mytime - lasttime; lasttime = mytime; - printf( "POST %d: %4d (%02x%02x) (%9d)- ", propset, qty, time1, time2, diff ); + printf( "POST %d: %4d (%02x%02x) - ", propset, qty, time1, time2 ); for( i = 0; i < qty + 4; i++ ) { printf( "%02x ", readdata[i] ); -- cgit v1.2.3