beep close
This commit is contained in:
parent
e8b8e526f6
commit
5d045fa8b4
@ -232,6 +232,7 @@ int beep_test(void)
|
||||
printf("Playback open error: %s\n", snd_strerror(err));
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
f1 = 0.02;
|
||||
f2 = 0.02;
|
||||
p1 = p2 = 0.0;
|
||||
|
@ -409,7 +409,7 @@ int main(int argc, char *argv[])
|
||||
send(fd_socket, &disconnect_packet, SIZE_COMMAND_PACKET, 0);
|
||||
close(fd_socket);
|
||||
close(fd_serial);
|
||||
buzzer_stop();
|
||||
beep_close();
|
||||
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user