rtic-rs / rtic

Real-Time Interrupt-driven Concurrency (RTIC) framework for ARM Cortex-M microcontrollers

Home Page:https://rtic.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`LinkedList` is duplicated

datdenkikniet opened this issue · comments

There are two struct LinkedList that look verrry similar. One is in rtic-common and the other is in rtic-time.

Perhaps it would be wise to introduce the change made to rtic-time to the LinkedList in rtic-common and re-use rtic_common::LinkedList in rtic-time, assuming that they serve the same purpose :)

Hi,

They are currently separated as they are 2 different kinds of linked lists.
One is doubly linked and the other is singly linked.

It would however make sense to move the one in rtic-time to rtic-common and rename the 2 lists to show their differences and have both at a single location.

Ah, oops.

We can start by renaming the Doubly linked list, and go from there!

Sounds good!