diff --git a/devices/sound/awacs.cpp b/devices/sound/awacs.cpp index 254b55d..906693d 100644 --- a/devices/sound/awacs.cpp +++ b/devices/sound/awacs.cpp @@ -105,9 +105,8 @@ AwacDevicePdm::AwacDevicePdm() : AwacsBase("AWAC-PDM") uint32_t AwacDevicePdm::read_stat() { - LOG_F(INFO, "%s: status requested!", this->name.c_str()); - // TODO: return valid status including manufacturer & device IDs - return 0; + // TODO: implement all other status bits + return (AWAC_REV_AWACS << 12) | (AWAC_MAKER_CRYSTAL << 8); } void AwacDevicePdm::write_ctrl(uint32_t addr, uint16_t value) diff --git a/devices/sound/awacs.h b/devices/sound/awacs.h index f701016..489eb52 100644 --- a/devices/sound/awacs.h +++ b/devices/sound/awacs.h @@ -149,8 +149,9 @@ public: virtual void snd_ctrl_write(uint32_t offset, uint32_t value, int size) = 0; }; -/** AWACs Screamer manufacturer and revision. */ +/** AWACs manufacturers and revisions. */ #define AWAC_MAKER_CRYSTAL 1 +#define AWAC_REV_AWACS 2 #define AWAC_REV_SCREAMER 3 /** Screamer sound codec. */