sdvxio-bio2: Add better comments to amp command, and sleep in fini
This commit is contained in:
@@ -98,8 +98,12 @@ uint16_t sdvx_io_get_input_gpio(uint8_t gpio_bank);
|
|||||||
|
|
||||||
uint16_t sdvx_io_get_spinner_pos(uint8_t spinner_no);
|
uint16_t sdvx_io_get_spinner_pos(uint8_t spinner_no);
|
||||||
|
|
||||||
/* Sets the volume of the digital amps if possible */
|
/* Sets the volume of the digital amps if possible.
|
||||||
|
Range is between 0-96, where 0 is MAX and 96 is LOW. */
|
||||||
|
|
||||||
bool sdvx_io_set_amp_volume(uint8_t primary, uint8_t headphone, uint8_t subwoofer);
|
bool sdvx_io_set_amp_volume(
|
||||||
|
uint8_t primary,
|
||||||
|
uint8_t headphone,
|
||||||
|
uint8_t subwoofer);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -150,6 +150,8 @@ void sdvx_io_fini(void)
|
|||||||
{
|
{
|
||||||
running = false;
|
running = false;
|
||||||
while (processing_io) {
|
while (processing_io) {
|
||||||
|
// avoid banging
|
||||||
|
Sleep(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user