diff --git a/src/experiment.c b/src/experiment.c
index d5d93300b9ac613622036685f2dfbfa5d699b576..43f7333041005868f4a8049ad55637277d251a46 100644
--- a/src/experiment.c
+++ b/src/experiment.c
@@ -1017,10 +1017,6 @@ void swv_experiment(uint16_t start, uint16_t stop, uint16_t step, uint16_t pulse
 	 */
 
 	uint8_t direction;
-//	uint16_t dacindex_start = ceil((start)*(65536/(double)3000))+32768;
-//	uint16_t dacindex_stop = ceil(stop*(65536/(double)3000))+32768;
-//	uint16_t dacindex_step = ceil(step*(65536/(double)3000));
-//	uint16_t dacindex_pulse_height = ceil(pulse_height*(65536/(double)3000));
 	uint32_t period;
 	
 	if (start < stop)