Minor change

This commit is contained in:
Th3maz1ng 2019-05-01 22:03:58 +02:00
parent 8fb329e717
commit f2a75745cc

View File

@ -16,6 +16,8 @@
class SAB class SAB
{ {
public: public:
enum Error {RTC_BEGIN_ERR = 1, DISP_BEGIN_ERR = 2, SDCARD_INIT_ERR = 4, IO_INIT_ERR = 8};
SAB(); SAB();
SAB(const PinMapping pinConfig, const ScreenConfig screenConfig, const SDCardConfig sdCardConfig, const unsigned int webServerPort); SAB(const PinMapping pinConfig, const ScreenConfig screenConfig, const SDCardConfig sdCardConfig, const unsigned int webServerPort);
~SAB() ~SAB()
@ -51,7 +53,7 @@ class SAB
PCF8574 _pcf; PCF8574 _pcf;
IOManager _ioManager; IOManager _ioManager;
unsigned char _error; uint8_t _error;
}; };
#endif //SAB_H #endif //SAB_H