diff --git a/src/HIDPowerDevice.cpp b/src/HIDPowerDevice.cpp index 4610d5a..580372f 100755 --- a/src/HIDPowerDevice.cpp +++ b/src/HIDPowerDevice.cpp @@ -250,11 +250,6 @@ void HIDPowerDevice_::setSerial(const char* s) { void HIDPowerDevice_::end(void) { } -int HIDPowerDevice_::sendDate(uint16_t id, uint16_t year, uint8_t month, uint8_t day) { - uint16_t bval = (year - 1980)*512 + month * 32 + day; - return HID().SendReport(id, &bval, sizeof (bval)); -} - int HIDPowerDevice_::sendReport(uint16_t id, const void* bval, int len) { return HID().SendReport(id, bval, len); } diff --git a/src/HIDPowerDevice.h b/src/HIDPowerDevice.h index 3b146b9..9e1cc7a 100755 --- a/src/HIDPowerDevice.h +++ b/src/HIDPowerDevice.h @@ -121,7 +121,6 @@ class HIDPowerDevice_ { void end(void); - int sendDate(uint16_t id, uint16_t year, uint8_t month, uint8_t day); int sendReport(uint16_t id, const void* bval, int len); int setFeature(uint16_t id, const void* data, int len);