commit | f482b4cdb09682b9dd7435976af8a6453edc6b7a | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Mon Mar 17 19:44:20 2014 -0700 |
committer | Brian Silverman <brians> | Mon Mar 17 19:44:20 2014 -0700 |
tree | 0cc5787b86d4f07a0de8d7e017ca5d5bbbc39379 | |
parent | eb51cbbac5f1a7c6dc8119ea54ec0c0b873612c3 [diff] [blame] |
implemented recovering from ADC errors
diff --git a/bbb_cape/src/cape/data_struct.h b/bbb_cape/src/cape/data_struct.h index 4aa2a10..943e8c2 100644 --- a/bbb_cape/src/cape/data_struct.h +++ b/bbb_cape/src/cape/data_struct.h
@@ -38,6 +38,8 @@ // contents of flash for the main code (aka what's in the .hex file). uint32_t flash_checksum; + uint8_t analog_errors; + struct { // If the current gyro_angle has been not updated because of a bad // reading from the sensor.