mirror of
https://github.com/anklimov/lighthub
synced 2025-12-09 21:29:49 +03:00
Poll() refactoring, PWM fix, Hum preparation
This commit is contained in:
@@ -9,7 +9,7 @@ class abstractCh {
|
||||
public:
|
||||
abstractCh(){};
|
||||
virtual ~abstractCh(){};
|
||||
virtual int Poll(short cause) = 0;
|
||||
virtual int Poll(short cause) {return 0;}
|
||||
virtual int Setup() =0; //Should initialize hardware and reserve resources
|
||||
virtual int Anounce () {return 0;};
|
||||
virtual int Stop() {return 0;}; //Should free resources
|
||||
|
||||
Reference in New Issue
Block a user