Skip to content

Commit

Permalink
[Examples]: Removed a bidirectional link in seeder example DDOP
Browse files Browse the repository at this point in the history
Removed a troublesome part of the DDOP based on discussion #307
  • Loading branch information
ad3154 committed Sep 2, 2023
1 parent aabcd89 commit 06020e2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions examples/seeder_example/section_control_implement_sim.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,11 +225,6 @@ bool SectionControlImplementSimulator::create_ddop(std::shared_ptr<isobus::Devic
sectionCounter += NUMBER_SECTIONS_PER_CONDENSED_MESSAGE;
}

for (std::uint_fast8_t i = 0; i < get_number_of_sections(); i++)
{
boom->add_reference_to_child_object(static_cast<std::uint16_t>(ImplementDDOPObjectIDs::Section1) + i);
}

product->add_reference_to_child_object(static_cast<std::uint16_t>(ImplementDDOPObjectIDs::BinCapacity));
product->add_reference_to_child_object(static_cast<std::uint16_t>(ImplementDDOPObjectIDs::BinLevel));
product->add_reference_to_child_object(static_cast<std::uint16_t>(ImplementDDOPObjectIDs::LifetimeApplicationCountTotal));
Expand Down

0 comments on commit 06020e2

Please sign in to comment.