diff options
Diffstat (limited to 'miscutils/beep.c')
-rw-r--r-- | miscutils/beep.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/miscutils/beep.c b/miscutils/beep.c index d5c353197..79e75473c 100644 --- a/miscutils/beep.c +++ b/miscutils/beep.c | |||
@@ -19,8 +19,16 @@ | |||
19 | #define OPT_d (1<<2) | 19 | #define OPT_d (1<<2) |
20 | #define OPT_r (1<<3) | 20 | #define OPT_r (1<<3) |
21 | /* defaults */ | 21 | /* defaults */ |
22 | #define FREQ (4440) | 22 | #ifndef CONFIG_FEATURE_BEEP_FREQ |
23 | #define LENGTH (50) | 23 | # define FREQ (4000) |
24 | #else | ||
25 | # define FREQ (CONFIG_FEATURE_BEEP_FREQ) | ||
26 | #endif | ||
27 | #ifndef CONFIG_FEATURE_BEEP_LENGTH | ||
28 | # define LENGTH (30) | ||
29 | #else | ||
30 | # define LENGTH (CONFIG_FEATURE_BEEP_LENGTH) | ||
31 | #endif | ||
24 | #define DELAY (0) | 32 | #define DELAY (0) |
25 | #define REPETITIONS (1) | 33 | #define REPETITIONS (1) |
26 | 34 | ||