Update BluePill-RTClock-test.ino

corrected text alignment (again)
This commit is contained in:
stevstrong 2017-12-09 21:05:47 +01:00 committed by GitHub
parent f8b7a7ab14
commit 75f21e3194
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ void ParseBuildTimestamp(tm_t & mt)
char * token = strtok(s, delim); // get first token
// walk through tokens
while( token != NULL ) {
uint8_t m = str2month((const char*)token);
if ( m>0 ) {
uint8_t m = str2month((const char*)token);
if ( m>0 ) {
mt.month = m;
//Serial.print(" month: "); Serial.println(mt.month);
token = strtok(NULL, delim); // get next token