mirror of
https://github.com/commaai/panda.git
synced 2026-06-13 23:55:23 +08:00
* fake siren works * this receives something * microphone in SAI1 POC * this receives audio again * double buffer DMA? * RX DMA works * wip * needs cleanup, but this plays * cleanup of playback * print mic * deal with stereo in * the DMA from SAI1 -> SAI4 doesn't work yet * this puts mic data in a buf * this gets sound to the 845 * wip: still garbage from the mic * inefficient, but it does record the mic * sine isn't used * comment out mic for now * fix misra * remove mic * more cleanup * add amp enable/disable * no more debug * newline --------- Co-authored-by: Comma Device <device@comma.ai>
33 lines
486 B
C
33 lines
486 B
C
#pragma once
|
|
|
|
void unused_init_bootloader(void) {
|
|
}
|
|
|
|
void unused_set_ir_power(uint8_t percentage) {
|
|
UNUSED(percentage);
|
|
}
|
|
|
|
void unused_set_fan_enabled(bool enabled) {
|
|
UNUSED(enabled);
|
|
}
|
|
|
|
void unused_set_siren(bool enabled) {
|
|
UNUSED(enabled);
|
|
}
|
|
|
|
uint32_t unused_read_current(void) {
|
|
return 0U;
|
|
}
|
|
|
|
void unused_set_bootkick(BootState state) {
|
|
UNUSED(state);
|
|
}
|
|
|
|
bool unused_read_som_gpio(void) {
|
|
return false;
|
|
}
|
|
|
|
void unused_set_amp_enabled(bool enabled) {
|
|
UNUSED(enabled);
|
|
}
|