[rtdevices] eliminate recursion

This commit is contained in:
Meco Man
2022-04-29 10:56:42 -04:00
committed by guo
parent c13b03604f
commit 1c95670bef
11 changed files with 108 additions and 93 deletions

View File

@@ -8,7 +8,6 @@
* 2019-08-08 balanceTWK the first version
*/
#include <rtthread.h>
#include <rtdevice.h>
static rt_err_t rt_pulse_encoder_init(struct rt_device *dev)