Skip to content

Conversation

flosse
Copy link
Contributor

@flosse flosse commented Oct 27, 2023

No description provided.

@birkenfeld
Copy link
Member

birkenfeld commented Oct 28, 2023

I don't understand the new error here.

thread 'parser::tests::ethercat_info_crated_by_beckhoff' panicked at 'called `Result::unwrap()` on an `Err` value: Custom { field: "unknown variant `Index`, expected one of `Type`, `Name`, `RxPdo`, `TxPdo`, `Sm`, `Info`, `HideType`, `GroupType`, `URL`, `Profile`, `Eeprom`, `Fmmu`, `Image16x14`, `ImageFile16x14`, `ImageData16x14`, `Mailbox`, `Dc`, `Slots`" }', src/parser/mod.rs:270:53 

Those expected values are all sub-tags of <Device> while the <Index> is always nested below <TxPdo>, so it shouldn't show up here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants