OSDN Git Service

cy8mrln-palmpre: print out just another value
authorSimon Busch <morphis@gravedo.de>
Fri, 21 May 2010 07:37:43 +0000 (09:37 +0200)
committerChris Larson <chris_larson@mentor.com>
Wed, 27 Oct 2010 16:48:54 +0000 (09:48 -0700)
plugins/cy8mrln-palmpre.c

index d1a1965..72f2e5b 100644 (file)
@@ -304,7 +304,8 @@ interpolate(uint16_t field[H_FIELDS * V_FIELDS], int i, struct ts_sample *out) {
 
        out->pressure = field[i];
 #ifdef DEBUG
-       printf("RAW--------------------------->f21: %f (%d), f23: %f (%d), f12: %f (%d), f32: %f (%d), \n", 
+       printf("RAW---------------------------> f22: %f (%d) f21: %f (%d), f23: %f (%d), f12: %f (%d), f32: %f (%d), \n", 
+              f22, fields[i],
               f21, field[i - 1], f23, field[i + 1], f12,
               field[i - H_FIELDS], f32, field[i + H_FIELDS]);
 #endif /*DEBUG*/