Skip to content

Commit

Permalink
Shrink buffer.
Browse files Browse the repository at this point in the history
  • Loading branch information
CelliesProjects committed Jul 25, 2019
1 parent 2355825 commit 0e6962d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntptask.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void ntpTask( void * pvParameters )

/* save reset reason */
if ( preferences.getString("bootlog").equalsIgnoreCase("on") ) {
char content[100];
char content[60];
snprintf( content, sizeof( content ), " %s,%s", resetString( 0 ), resetString( 1 ) );
logger.appendToFile( "/reset_reasons.txt", HUMAN_TIME, content );
}
Expand Down

0 comments on commit 0e6962d

Please sign in to comment.