beep: disallow FEATURE_BEEP_FREQ = 0 in configuration
authorDenys Vlasenko <vda.linux@googlemail.com>
Sat, 8 Jul 2017 10:21:45 +0000 (12:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 18 Jul 2017 17:20:58 +0000 (19:20 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/beep.c

index 14802b543fadc96290fe11991ec2d9af3c7fc7a2..216f69400e89d23c81f02ab0d936d1974ffbff69 100644 (file)
@@ -16,7 +16,7 @@
 //config:
 //config:config FEATURE_BEEP_FREQ
 //config:      int "default frequency"
-//config:      range 0 2147483647
+//config:      range 20 50000  # allowing 0 here breaks the build
 //config:      default 4000
 //config:      depends on BEEP
 //config:      help