diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-07-25 21:17:38 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-07-25 21:17:38 +1000 |
| commit | d8194135bbaad97d1f3428a74c7fc54ba3f604ec (patch) | |
| tree | eac58bb2229d3883987ef0876710e4edd7b2473b /src/drivers | |
| parent | 80d7df910987db5201402fe987124f29f09344f3 (diff) | |
| download | tangara-fw-d8194135bbaad97d1f3428a74c7fc54ba3f604ec.tar.gz | |
Do time tracking without floats
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/i2s_dac.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2s_dac.cpp b/src/drivers/i2s_dac.cpp index 74760543..d45173f7 100644 --- a/src/drivers/i2s_dac.cpp +++ b/src/drivers/i2s_dac.cpp @@ -119,8 +119,8 @@ I2SDac::I2SDac(IGpios* gpio, i2s_chan_handle_t i2s_handle) // TODO: testing // write_register(kDacGainLeft, 0b01, 0x50); // write_register(kDacGainRight, 0b11, 0x50); - write_register(kDacGainLeft, 0b01, 0x80); - write_register(kDacGainRight, 0b11, 0x78); + write_register(kDacGainLeft, 0b01, 0x0); + write_register(kDacGainRight, 0b11, 0x0); } I2SDac::~I2SDac() { |
