Fixed linear motor writing to output buffer errors