From 266aa9428312b522e98d766afa4d6d4a25a54eec Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 28 May 2001 21:11:38 +0000 Subject: Make the beep duration independent of HZ. PR: 25201 Submitted by: Akio Morita amorita@meadow.scphys.kyoto-u.ac.jp MFC after: 1 week --- sys/dev/syscons/syscons.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/syscons/syscons.h') diff --git a/sys/dev/syscons/syscons.h b/sys/dev/syscons/syscons.h index d667c9760f809..d2d605d130389 100644 --- a/sys/dev/syscons/syscons.h +++ b/sys/dev/syscons/syscons.h @@ -120,7 +120,7 @@ #define PCBURST 128 #ifndef BELL_DURATION -#define BELL_DURATION 5 +#define BELL_DURATION ((5 * hz + 99) / 100) #define BELL_PITCH 800 #endif -- cgit v1.3