mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
print warning on DPT *.0
This commit is contained in:
parent
923e50bf9c
commit
5577774ef9
@ -1,11 +1,16 @@
|
||||
#include "dpt.h"
|
||||
|
||||
#include "bits.h"
|
||||
|
||||
Dpt::Dpt()
|
||||
{}
|
||||
|
||||
Dpt::Dpt(short mainGroup, short subGroup, short index /* = 0 */)
|
||||
: mainGroup(mainGroup), subGroup(subGroup), index(index)
|
||||
{}
|
||||
{
|
||||
if (subGroup == 0)
|
||||
println("WARNING: You used and invalid Dpt *.0");
|
||||
}
|
||||
|
||||
bool Dpt::operator==(const Dpt& other) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user