sw/envelope: decrease max interrupt rate to 1 ms
sw/envelope: handle the special case when wait_us = 0
sw/sublime: remove debug printf