Commit f18c549
drivers: counter: shell: fix off-by-one check in periodic loop
Migrate the periodic loop to a standard for-loop to fix
an off-by-one check in the periodic timer shell command.
Signed-off-by: Surya Prakash T <suryat@aerlync.com>1 parent acdfb06 commit f18c549
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | | - | |
| 215 | + | |
215 | 216 | | |
216 | 217 | | |
217 | 218 | | |
| |||
0 commit comments