Commit 85c4a9b
committed
cores: arduino: zephyrCommon: Correct tone() behavior with duration=0
Fixed a bug where tone() with duration=0 would stop the tone immediately
instead of ringing infinitely.
Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>1 parent 7eab9c4 commit 85c4a9b
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
| 232 | + | |
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
236 | 236 | | |
237 | | - | |
238 | | - | |
239 | | - | |
| 237 | + | |
240 | 238 | | |
241 | 239 | | |
242 | 240 | | |
| |||
0 commit comments