Index: HD/Watchdog.py =================================================================== diff -u -r0da0106eca868b9144298c60911710b3414a5837 -ref59d2c0f0dc5aadfde4ad50554d5c686dd4c0d1 --- HD/Watchdog.py (.../Watchdog.py) (revision 0da0106eca868b9144298c60911710b3414a5837) +++ HD/Watchdog.py (.../Watchdog.py) (revision ef59d2c0f0dc5aadfde4ad50554d5c686dd4c0d1) @@ -16,7 +16,7 @@ ############################################################################ from DialIn.CoreCANProtocol import (DenaliMessage, DenaliChannels) -from utils import integer_to_byte_array, RESET +from utils import integer_to_bytearray, RESET class HDWatchdog: @@ -50,9 +50,9 @@ \returns 1 if successful, zero otherwise """ - rst = integer_to_byte_array(reset) - sta = integer_to_byte_array(state) - tsk = integer_to_byte_array(task) + rst = integer_to_bytearray(reset) + sta = integer_to_bytearray(state) + tsk = integer_to_bytearray(task) payload = rst + sta + tsk message = DenaliMessage.build_message(channel_id=DenaliChannels.dialin_to_hd_ch_id,