No magic numbers!
This commit is contained in:
parent
31933377cb
commit
a95217e24b
@ -36,12 +36,12 @@ bool busy(repeater* myrpt) {
|
||||
|
||||
void courtesyTone(repeater* myrpt) {
|
||||
switch(myrpt->params.courtesy) {
|
||||
case 0:
|
||||
case TONE:
|
||||
myrpt->last == TT ? tone(3, myrpt->params.pip_pitch, myrpt->params.pip_length) : tone(3, myrpt->params.pip_gw_pitch, myrpt->params.pip_gw_length);
|
||||
if (TAILPIPS)
|
||||
delay(150);
|
||||
break;
|
||||
case 1:
|
||||
case CW:
|
||||
myrpt->last == TT ? sendChar(myrpt->params.pip_speed,myrpt->params.pip_pitch,myrpt->params.pip_letter) : sendChar(myrpt->params.pip_speed,myrpt->params.pip_gw_pitch, myrpt->params.pip_gw_letter);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user