Update adc-to-slave.c

Fixed nasty bug in DAC interrupt