Index: HD/RTC.py =================================================================== diff -u -r0da0106eca868b9144298c60911710b3414a5837 -ref59d2c0f0dc5aadfde4ad50554d5c686dd4c0d1 --- HD/RTC.py (.../RTC.py) (revision 0da0106eca868b9144298c60911710b3414a5837) +++ HD/RTC.py (.../RTC.py) (revision ef59d2c0f0dc5aadfde4ad50554d5c686dd4c0d1) @@ -16,7 +16,7 @@ ############################################################################ from DialIn.CoreCANProtocol import (DenaliMessage, DenaliChannels) -from utils import integer_to_byte_array, float_to_byte_array +from utils import integer_to_bytearray, float_to_bytearray import ctypes @@ -73,7 +73,7 @@ hour = bytes([hours]) day = bytes([days]) month = bytes([months]) - year = integer_to_byte_array(years) + year = integer_to_bytearray(years) payload = sec + min + hour + day + month + year message = DenaliMessage.build_message(channel_id=DenaliChannels.dialin_to_hd_ch_id,