ivanseidel / LinkedList

🔗 A fully implemented LinkedList made to work with general Microcontrollers and Arduino projects
MIT License
347 stars 120 forks source link

Update LinkedList.h #5

Closed iisfaq closed 10 years ago

iisfaq commented 10 years ago

The remove method had a bug where the check to see if you were removing the last item in the list would never work and cause corrupt pointers.

Also the returned object was not your data object but a new instance.

ivanseidel commented 10 years ago

Sweet! thanks