Added header guards

This commit is contained in:
Mike C 2013-04-06 19:10:08 -04:00
parent 2b1c3b2889
commit eb68eceab5

View file

@ -10,6 +10,9 @@
#include "Project.h" #include "Project.h"
#ifndef UIJoystickPSP_h
#define UIJoystickPSP_h
enum joyDirection { enum joyDirection {
joyUp, joyUp,
joyDown, joyDown,
@ -32,4 +35,6 @@ private:
public: public:
UIJoystickPSP(int xAxisPin, int yAxisPin); UIJoystickPSP(int xAxisPin, int yAxisPin);
joyDirection direction(); joyDirection direction();
}; };
#endif