Skip to content

Commit

Permalink
Swapped INVALID_DATA to end
Browse files Browse the repository at this point in the history
  • Loading branch information
ropg committed Mar 25, 2019
1 parent bc40f0d commit ebc34a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ezTime.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ namespace ezt {
case NO_CACHE_SET: return F("No cache set");
case CACHE_TOO_SMALL: return F("Cache too small");
case TOO_MANY_EVENTS: return F("Too many events");
case SERVER_ERROR: return _server_error;
case INVALID_DATA: return F("Invalid data received from NTP server");
case SERVER_ERROR: return _server_error;
default: return F("Unkown error");
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/ezTime.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ typedef enum {
NO_CACHE_SET,
CACHE_TOO_SMALL,
TOO_MANY_EVENTS,
SERVER_ERROR,
INVALID_DATA
INVALID_DATA,
SERVER_ERROR
} ezError_t;

typedef enum {
Expand Down

0 comments on commit ebc34a0

Please sign in to comment.