Reduce priority timeout to be uint8_t
This commit is contained in:
parent
980065fb46
commit
7231f5cfb4
@ -233,10 +233,10 @@ class E131Priority {
|
|||||||
private:
|
private:
|
||||||
uint8_t priority;
|
uint8_t priority;
|
||||||
time_t setupTime;
|
time_t setupTime;
|
||||||
uint16_t seconds;
|
uint8_t seconds;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
E131Priority(uint16_t timeout=3) {
|
E131Priority(uint8_t timeout=3) {
|
||||||
seconds = timeout;
|
seconds = timeout;
|
||||||
set(0);
|
set(0);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user