wip
This commit is contained in:
parent
8da3e55d8b
commit
72ab6292fd
|
@ -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)
|
||||||
|
|
|
@ -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){
|
||||||
|
|
Loading…
Reference in New Issue