From 9b05bceb202d46166e8964813e0eb4dffc19d2a7 Mon Sep 17 00:00:00 2001 From: Douglas Thain Date: Wed, 20 Sep 2017 15:49:09 -0400 Subject: [PATCH] ifdef header protection. --- QMC5883L.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/QMC5883L.h b/QMC5883L.h index a4b0af1..fc31e86 100644 --- a/QMC5883L.h +++ b/QMC5883L.h @@ -1,3 +1,5 @@ +#ifndef QMC5883L_H +#define QMC5883L_H class QMC5883L { public: @@ -24,3 +26,5 @@ class QMC5883L { uint8_t range; uint8_t oversampling; }; + +#endif