ivanseidel / LinkedList

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

Fix add into position 0 #7

Closed thirtythreeforty closed 9 years ago

thirtythreeforty commented 9 years ago

The code did not check if index was 0, causing index - 1 to be -1.

ivanseidel commented 9 years ago

Ops. Thanks for noticing! Merged...