beaglebone: heartbeat bug fix