Odstraneni varovani z cppchecku

This commit is contained in:
Pavel Brychta 2019-11-23 11:56:50 +01:00
parent 15be6b4674
commit 73f8bd919a

View File

@ -17,8 +17,8 @@ protected:
uint8_t _mode; // mode of actual operation (compatibility, oneshot, periodic) uint8_t _mode; // mode of actual operation (compatibility, oneshot, periodic)
uint8_t _done; uint8_t _done;
public: public:
Interval(): _mode(0), _done(0xff) {} // compatibility mode autostart Interval(): _mode(0), _done(0xff), _timefrom(0), _timeout(0) {} // compatibility mode autostart
Interval(uint32_t tmout): _timeout(tmout), _mode(2), _done(0xff) {} // periodic mode autostart Interval(uint32_t tmout): _timeout(tmout), _mode(2), _done(0xff), _timefrom(0) {} // periodic mode autostart
bool expired(void); bool expired(void);
void set(uint32_t tmout); void set(uint32_t tmout);
void setOneshot(uint32_t tmout); void setOneshot(uint32_t tmout);