()
| 816 | } |
| 817 | |
| 818 | func (d *DMC) stepTimer() { |
| 819 | if !d.enabled { |
| 820 | return |
| 821 | } |
| 822 | d.stepReader() |
| 823 | if d.tickValue == 0 { |
| 824 | d.tickValue = d.tickPeriod |
| 825 | d.stepShifter() |
| 826 | } else { |
| 827 | d.tickValue-- |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | func (d *DMC) stepReader() { |
| 832 | if d.currentLength > 0 && d.bitCount == 0 { |
nothing calls this directly
no test coverage detected