-rw-r--r-- | library/custom-sharp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/custom-sharp.h b/library/custom-sharp.h index f65d474..08f8a6f 100644 --- a/library/custom-sharp.h +++ b/library/custom-sharp.h | |||
@@ -67,12 +67,15 @@ | |||
67 | { \ | 67 | { \ |
68 | static int fd = open( "/dev/sharp_buz", O_RDWR|O_NONBLOCK ); \ | 68 | static int fd = open( "/dev/sharp_buz", O_RDWR|O_NONBLOCK ); \ |
69 | ioctl( fd, SHARP_BUZZER_MAKESOUND, sound ); \ | 69 | ioctl( fd, SHARP_BUZZER_MAKESOUND, sound ); \ |
70 | } | 70 | } |
71 | 71 | ||
72 | #define CUSTOM_SOUND_ALARM CUSTOM_BUZZER( SHARP_BUZ_SCHEDULE_ALARM ) | 72 | #define CUSTOM_SOUND_ALARM CUSTOM_BUZZER( SHARP_BUZ_SCHEDULE_ALARM ) |
73 | #define CUSTOM_SOUND_KEYCLICK CUSTOM_BUZZER( SHARP_BUZ_KEYSOUND ) | ||
74 | #define CUSTOM_SOUND_TOUCH CUSTOM_BUZZER( SHARP_BUZ_TOUCHSOUND ) | ||
75 | |||
73 | 76 | ||
74 | #include <sys/ioctl.h> | 77 | #include <sys/ioctl.h> |
75 | #include <asm/sharp_char.h> | 78 | #include <asm/sharp_char.h> |
76 | 79 | ||
77 | // a bit awkward, as this value is defined in emailclient.cpp aswell... | 80 | // a bit awkward, as this value is defined in emailclient.cpp aswell... |
78 | #define LED_MAIL 0 | 81 | #define LED_MAIL 0 |