projects
/
mirrors
/
FD230.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f21bb7
)
优化马达震动
1308/2
author
penglei
<1624952103@qq.com>
Thu, 31 Oct 2024 13:34:55 +0000
(21:34 +0800)
committer
penglei
<1624952103@qq.com>
Thu, 31 Oct 2024 13:34:55 +0000
(21:34 +0800)
code/sdk/drivers/peripheral/vibrator/vibrator.c
patch
|
blob
|
history
diff --git
a/code/sdk/drivers/peripheral/vibrator/vibrator.c
b/code/sdk/drivers/peripheral/vibrator/vibrator.c
index
17d05d3
..
d3fc915
100644
(file)
--- a/
code/sdk/drivers/peripheral/vibrator/vibrator.c
+++ b/
code/sdk/drivers/peripheral/vibrator/vibrator.c
@@
-182,7
+182,7
@@
void g_VibratorFunc(uint16_t duty , uint16_t cycle_time_ms,uint16_t duration_tim
{
pwm_stop();
}
- pwm_stop();
+
vibrating = 0;
}
}