serial update rate not a variable #7409
sstroobants
started this conversation in
General
Replies: 1 comment 2 replies
-
Looptime is independent from serial tasks. What exactly are you trying to
do? Because I do not understand your usecase
wt., 31 sie 2021, 11:53 użytkownik sstroobants ***@***.***>
napisał:
… Hi there!
I was looking for a way to change the update rate of the serial loop,
which was possible in Cleanflight using the variable serial_update_rate_hz.
They added that option a couple of years ago but I see it has not been
implemented in iNav yet. Is it possible to have this option here as well?
Currently I just change the TASK_PERIOD_HZ of the serial task in fc_tasks.c
and rebuild the firmware every time, which is also fine of course.
Kind regards,
Stein
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#7409>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAHMBG6VPVT2KLPFCJ65AWTT7SRDNANCNFSM5DDXNO6A>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there!
I was looking for a way to change the update rate of the serial loop, which was possible in Betaflight using the variable serial_update_rate_hz. They added that option a couple of years ago but I see it has not been implemented in iNav yet. Is it possible to have this option here as well? Currently I just change the TASK_PERIOD_HZ of the serial task in fc_tasks.c and rebuild the firmware every time, which is also fine of course.
Kind regards,
Stein
Beta Was this translation helpful? Give feedback.
All reactions