beep close

This commit is contained in:
Gerolf Ziegenhain 2016-10-03 21:24:44 +02:00
parent e8b8e526f6
commit 5d045fa8b4
2 changed files with 2 additions and 1 deletions

View File

@ -232,6 +232,7 @@ int beep_test(void)
printf("Playback open error: %s\n", snd_strerror(err)); printf("Playback open error: %s\n", snd_strerror(err));
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
f1 = 0.02; f1 = 0.02;
f2 = 0.02; f2 = 0.02;
p1 = p2 = 0.0; p1 = p2 = 0.0;

View File

@ -409,7 +409,7 @@ int main(int argc, char *argv[])
send(fd_socket, &disconnect_packet, SIZE_COMMAND_PACKET, 0); send(fd_socket, &disconnect_packet, SIZE_COMMAND_PACKET, 0);
close(fd_socket); close(fd_socket);
close(fd_serial); close(fd_serial);
buzzer_stop(); beep_close();
exit(0); exit(0);
} }