Skip to content

Conversation

@Project516
Copy link

This is the submodule I used for ev3dev/ev3-kernel#17. It just gets this to compile with the kernel 6.12.y branch. I have not tested this on actual hardware. I would start a new branch rather than merge this into the bookworm branch.

int err;

if (!port || !port->name || !port->address || !type || !parent)
if (!port || !port->name || !type || !parent)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why removing port->address?

return ret;

return pwm_apply_state(data->pwm, &state);
return pwm_apply_might_sleep(data->pwm, &state);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want the atomic version here.

@dlech dlech changed the base branch from ev3dev-bookworm to ev3dev-trixie January 2, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants