Browse Source

Ignore unused beeper pins

Colin Edwards 12 years ago
parent
commit
9a1c90471f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -1425,7 +1425,7 @@ void process_commands()
1425 1425
     }
1426 1426
     break;
1427 1427
 
1428
-    #ifdef BEEPER
1428
+    #if defined(BEEPER) && BEEPER > -1
1429 1429
     case 300: // M300
1430 1430
     {
1431 1431
       int beepS = 1;

Loading…
Cancel
Save