manuelbl / usb-pd-arduino

USB Power Delivery for Arduino
MIT License
57 stars 10 forks source link

Reorganize `src` folder #9

Closed puzrin closed 8 months ago

puzrin commented 8 months ago

non-breaking

manuelbl commented 8 months ago

Thanks for the PR.

The organization makes sense.

But are include paths with . and ../ really needed? Can't we replace them with paths relative to src?

The only exceptions would be include paths referring to a file in the same directory. They wouldn't be relative to src.

I made a quick check with PlatformIO and the Arduino IDE for a single board, and it works.

puzrin commented 8 months ago

Ups... that's because my CPP experience is far from perfect, and sometimes I do strange things :). Thank you very much for your recommendation. Updated.