diff main.c @ 87:81b8c84344c4

- log more details - less silly way to load localconfig
author Matt Johnston <matt@ucc.asn.au>
date Thu, 12 Jul 2012 23:44:20 +0800
parents b9179968a272
children 51d889ad39a3
line wrap: on
line diff
--- a/main.c	Wed Jul 11 23:43:36 2012 +0800
+++ b/main.c	Thu Jul 12 23:44:20 2012 +0800
@@ -296,6 +296,12 @@
     fprintf_P(crc_stdout, PSTR("last_time=%lu\n"),  last_measurement_clock);
     fprintf_P(crc_stdout, PSTR("comms_time=%lu\n"), last_comms_clock);
     fprintf_P(crc_stdout, PSTR("voltage=%hu\n"), adc_vcc());
+    fprintf_P(crc_stdout, PSTR("measure=%hu\n"), measure_wake);
+    fprintf_P(crc_stdout, PSTR("comms=%hu\n"), comms_wake);
+    fprintf_P(crc_stdout, PSTR("wake=%hhu\n"), wake_secs);
+    fprintf_P(crc_stdout, PSTR("tick=%d\n"), TICK);
+    fprintf_P(crc_stdout, PSTR("maxsens=%hhu\n"), MAX_SENSORS);
+    fprintf_P(crc_stdout, PSTR("totalmeas=%hu\n"), TOTAL_MEASUREMENTS);
     fprintf_P(crc_stdout, PSTR("sensors=%hhu\n"), n_sensors);
     for (uint8_t s = 0; s < n_sensors; s++)
     {