Renamed stopwatch::status to stopwatch::state

This commit is contained in:
João Brázio
2016-04-25 17:40:43 +01:00
parent df2d0eb37c
commit 739dcda0f1
2 changed files with 8 additions and 8 deletions

View File

@ -28,7 +28,7 @@
// Print debug messages with M111 S2 (Uses 156 bytes of PROGMEM)
//#define DEBUG_STOPWATCH
enum StopwatchStatus {
enum StopwatchState {
STPWTCH_STOPPED,
STPWTCH_RUNNING,
STPWTCH_PAUSED
@ -41,7 +41,7 @@ enum StopwatchStatus {
*/
class Stopwatch {
private:
StopwatchStatus status;
StopwatchState state;
uint16_t accumulator;
uint32_t startTimestamp;
uint32_t stopTimestamp;