This commit is contained in:
Gerolf Ziegenhain 2016-10-04 16:29:58 +02:00
parent 8da3e55d8b
commit 72ab6292fd
2 changed files with 4 additions and 2 deletions

View File

@ -138,7 +138,7 @@ void msleep(int d){
usleep(d*1000); usleep(d*1000);
} }
#ifdef __MACH__
int beep(double freq_hz, double duration_sec) int beep(double freq_hz, double duration_sec)
{ {
if (freq_hz > 0.0) { if (freq_hz > 0.0) {
@ -163,6 +163,7 @@ int beep_close()
buzzer_stop(); buzzer_stop();
return 0; return 0;
} }
#endif
int beep_test(void) int beep_test(void)

View File

@ -60,6 +60,7 @@ void inthandler(int sig)
exit(1); exit(1);
} }
// main tx loop
void txloop (void) void txloop (void)
{ {
key_press_t1 = fastclock(); key_press_t1 = fastclock();
@ -92,7 +93,7 @@ void txloop (void)
} }
} }
// screen output
void message(int msg) void message(int msg)
{ {
switch(msg){ switch(msg){