-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ES8388 LyraT Fixes #39
ES8388 LyraT Fixes #39
Conversation
|
||
// #define use_es8388_mic | ||
|
||
#ifdef use_es8388_mic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The convention is normally to use block caps for build flags
@@ -551,6 +598,10 @@ class ES8388Source : public I2SSource { | |||
|
|||
void initialize(int8_t sdaPin, int8_t sclPin, int8_t i2swsPin, int8_t i2ssdPin, int8_t i2sckPin, int8_t mclkPin) { | |||
|
|||
// BUG: "use global I2C pins" are valid as -1, and -1 is seen as invalid here. | |||
// Workaround: Set I2C pins here, which will also set them globally. | |||
// Bug also exists in ES7243. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth logging a bug so we keep track to come back and fix both?
Just tested and pass-thru working (at least to some extent, not verified left/right balance etc) Just the naming that build flag and I'd say good to merge |
Optional mic at compile time (set in code)
Fixes to a small volume drop on pass-thru on the LyraT on one stereo channel. Unknown as to why this happens in the hardware.
Moved all registry numbers to decimal and all settings to binary format to make it easier to cross-reference the manuals which all shows decimal and binary. Tried to document all settings in-line as best as I can.
Added some more docs to the comments as hints for those who might want to do further hacking. :)