aboutsummaryrefslogtreecommitdiff
path: root/include/survive.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/survive.h')
-rw-r--r--include/survive.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/survive.h b/include/survive.h
index abc6917..cf2ab81 100644
--- a/include/survive.h
+++ b/include/survive.h
@@ -32,15 +32,16 @@ struct SurviveObject
//Flood info, for calculating which laser is currently sweeping.
int8_t oldcode;
#ifdef USE_OLD_DISAMBIGUATOR
- int16_t total_photos;
int32_t last_photo_time;
- int32_t total_photo_time;
- int32_t total_pulsecode_time;
+ int32_t last_photo_length;
#else
struct disambiguator * d;
#endif
uint32_t last_lighttime; //May be a 24- or 32- bit number depending on what device.
+
+ //Debug
+ int tsl;
};
typedef void (*text_feedback_fnptr)( struct SurviveContext * ctx, const char * fault );