Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2a3f753

Browse files
committed
Updated code
1 parent f3ba97b commit 2a3f753

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stopwatch/stopwatch-deel-1/stopwatch-deel-1.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ String formatTimeToString(unsigned long time) {
153153
mSeconds = "0" + mSeconds;
154154
}
155155

156-
return hours + String(":") + formatZeros(minutes) + String(":") + formatZeros(seconds) + String(".") + mSeconds;
156+
return String(hours) + ":" + formatZeros(minutes) + ":" + formatZeros(seconds) + "." + String(mSeconds);
157157
}
158158

159159
/*

0 commit comments

Comments
 (0)