Skip to content

Commit eddce41

Browse files
Comment correction (#21729)
1 parent ef9ca61 commit eddce41

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Marlin/src/libs/duration_t.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ struct duration_t {
115115
* @brief Formats the duration as a string
116116
* @details String will be formated using a "full" representation of duration
117117
*
118-
* @param buffer The array pointed to must be able to accommodate 21 bytes
118+
* @param buffer The array pointed to must be able to accommodate 22 bytes
119+
* (21 for the string, 1 more for the terminating nul)
119120
*
120121
* Output examples:
121122
* 123456789012345678901 (strlen)

0 commit comments

Comments
 (0)