|
|
@ -130,7 +130,7 @@ void beep() |
|
|
|
{ |
|
|
|
//return; |
|
|
|
#ifdef ULTIPANEL |
|
|
|
if (BEEPER > -1) |
|
|
|
#if (BEEPER > -1) |
|
|
|
{ |
|
|
|
pinMode(BEEPER,OUTPUT); |
|
|
|
for(int8_t i=0;i<20;i++){ |
|
|
@ -141,13 +141,14 @@ void beep() |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
void beepshort() |
|
|
|
{ |
|
|
|
//return; |
|
|
|
#ifdef ULTIPANEL |
|
|
|
if (BEEPER > -1) |
|
|
|
#if (BEEPER > -1) |
|
|
|
{ |
|
|
|
pinMode(BEEPER,OUTPUT); |
|
|
|
for(int8_t i=0;i<10;i++){ |
|
|
@ -158,6 +159,7 @@ void beepshort() |
|
|
|
} |
|
|
|
} |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
void lcd_status() |
|
|
@ -203,7 +205,11 @@ void buttons_init() |
|
|
|
WRITE(BTN_EN1,HIGH); |
|
|
|
WRITE(BTN_EN2,HIGH); |
|
|
|
WRITE(BTN_ENC,HIGH); |
|
|
|
#if (SDCARDDETECT > -1) |
|
|
|
{ |
|
|
|
WRITE(SDCARDDETECT,HIGH); |
|
|
|
} |
|
|
|
#endif |
|
|
|
#else |
|
|
|
pinMode(SHIFT_CLK,OUTPUT); |
|
|
|
pinMode(SHIFT_LD,OUTPUT); |
|
|
|