sparkfun/HTU21D_Breakout

Missing header guards

BrentWilkins opened this issue · 3 comments

Missing header guards

Hey Brent - can you tell me more? What are header guards?

Quickly, they prevent a header from being included more than once causing symbol redefinitions. You can find more info here: https://en.wikipedia.org/wiki/Include_guard It appears that many of your headers are missing them. I first noticed it due to this pull request to fix another one: sparkfun/SparkFun_MPL3115A2_Breakout_Arduino_Library#1

Got it. Should be fixed in next push.