SolderedElectronics / Inkplate-Arduino-library

Inkplate family Arduino library. The easiest way to add e-paper to your project.
https://inkplate.readthedocs.io/en/latest/arduino.html
GNU Lesser General Public License v3.0
250 stars 78 forks source link

dont mix #pragma once and #ifndef #219

Closed tost11 closed 1 year ago

tost11 commented 1 year ago

use one of those methods to prevent multiple definitions but not both in different file or worse both methods in the same file: e.g. HomePage.h

rsoric commented 1 year ago

Hi @tost11 ,

This one is also a valuable input and as I've said in my other comment it will be discussed for a new version of the library as soon as we get around to it. I'll notify you here if we end up doing this.