-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pwm issue #12
Pwm issue #12
Conversation
所以是必须要加上这个pwm.pinmap才能使用pwm么?这个应该是在结构分配内存时自动赋0了吧? |
上周, 看 ROCK 3C 的 pin 7 脚 pwm 无法使用,后面加上 pwm.pinmap 就能用,但是今天的情况就是加不加都能用,打印了 board->pins[pin].pwm.pinmap 默认会初始化为 0,所以应该是不加也行 |
所以还是没搞清楚为什么pwm不行咯 |
已有文件的顺序就别改了吧,回头可以单独弄一个formatting的PR,这里还是主要修复使用问题 |
这边也要处理啊 |
等 ROCK PI E 的 PR 合并 |
这两个不影响,你可以先改,然后rock pi e的合并了再rebase |
好的,下周一 |
所有板子的顺序要不要再这一块处理了? |
你要弄就先有个单独的commit处理格式问题。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
应该是先改格式,然后在加入新代码。并且5a的修改需要添加的时候就是正确的顺序
Signed-off-by: Nascs <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你这个添加或减少pwm后要把头文件的数量更新啊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pwm修正的两个提交合并一下,然后pwm初始化的提交消息就写fix而不是unified。okdo那边已经发现之前的初始化是有问题的
指的是不加 pinmap 会有问题? |
Signed-off-by: Nascs <[email protected]>
Signed-off-by: Nascs <[email protected]>
这个可以提交给上游了 |
|
一般链接PR/issue是用 |
5a/5b/3c/cm3 pwm 都用 led 重新测了一遍,3c pin 19 那个 pwm15_m0 被 fan0 占用