Skip to content

mpu6050 read data by time with kthread wariant#46

Open
dmytrokirtoka wants to merge 1 commit into
Kernel-GL-HRK:Dmytro.Kirtokafrom
dmytrokirtoka:mpu6050_impr2_kthread
Open

mpu6050 read data by time with kthread wariant#46
dmytrokirtoka wants to merge 1 commit into
Kernel-GL-HRK:Dmytro.Kirtokafrom
dmytrokirtoka:mpu6050_impr2_kthread

Conversation

@dmytrokirtoka

Copy link
Copy Markdown

added ring buffer with 10 elm
added module parameter rate, default is 1000 msec
added kthread for periodic read data from device by msleep delay.

added ring buffer with 10 elm
added module parameter rate, default is 1000 msec
added kthread for periodic read data from device by delay

@an1kh an1kh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have no objections to idea and implementation. But the code has some formatting issues like spacing. Please fix them and merge.
I'll go ahead and ack.

@an1kh an1kh mentioned this pull request Dec 12, 2017

@AleksandrBulyshchenko AleksandrBulyshchenko left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Kthread usage seems OK,

But commit message requires rewriting and checkpatch issues should be fixed.

Anyway AFAIU, this PR isn't going to be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants