krikr808/MD — comment on commit 0476f1c1718d469c6af026087351cc728a9b780f
File:  line 0
By chili895:

1. The bug is very obvious, please see there nrinst is changed.

2. Ok, then you should change the conversion in the output stage. They are doing the same thing.

3. You can try not dividing by sampling_period then you will get program crashed if you increase sampling_period.