Browse Source

Merge pull request #4458 from jbrazio/followup-4448

Fixes a compilation error introduced by #4448
pull/1/head
João Brázio 8 years ago
committed by GitHub
parent
commit
3367e79fec
  1. 2
      Marlin/speaker.h

2
Marlin/speaker.h

@ -70,7 +70,7 @@ class Speaker: public Buzzer {
this->state.period = 1000000UL / this->state.tone.frequency;
this->state.counter =
(this->state.tone.counter * 1000L) / this->state.period;
(this->state.tone.duration * 1000L) / this->state.period;
this->state.period >>= 1;
this->state.counter <<= 1;

Loading…
Cancel
Save