enable DFU resuming aborted transfers, move watchdog enabling to a function