You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble compiling the cycling_data example.
Here is the message:
error[E0609]: no field `index` on type `&Pdo`
--> src/bin/cyclic_data1.rs:125:39
|
125 | idx: PdoIdx::from(pdo.index),
| ^^^^^ unknown field
|
= note: available fields are: `sm`, `fixed`, `mandatory`, `idx`, `name`, `entries`
error[E0609]: no field `index` on type `&PdoEntry`
--> src/bin/cyclic_data1.rs:132:46
|
132 | ... idx: Idx::from(e.index),
| ^^^^^ unknown field
|
= note: available fields are: `entry_idx`, `bit_len`, `name`, `data_type`
error[E0609]: no field `sub_index` on type `&PdoEntry`
--> src/bin/cyclic_data1.rs:133:53
|
133 | ... sub_idx: SubIdx::from(e.sub_index.unwrap_or(1) as u8),
| ^^^^^^^^^ unknown field
Could this be a problem of my configuration or is this due to some API change?
Thanks
The text was updated successfully, but these errors were encountered:
askuric
changed the title
cyclic_data example no longer compiles
cyclic_data example does not compile
Apr 25, 2024
Hi guys,
I'm having trouble compiling the cycling_data example.
Here is the message:
Could this be a problem of my configuration or is this due to some API change?
Thanks
The text was updated successfully, but these errors were encountered: