Skip to content
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

'class VS1053' has no member named 'getChipVersion' #23

Closed
dieseltravis opened this issue Dec 30, 2023 · 2 comments
Closed

'class VS1053' has no member named 'getChipVersion' #23

dieseltravis opened this issue Dec 30, 2023 · 2 comments

Comments

@dieseltravis
Copy link

I get an error when compiling in Arduino 1.8.19:

D:\Arduino\libraries\ESP32_VS1053_Stream\src\ESP32_VS1053_Stream.cpp: In member function 'bool ESP32_VS1053_Stream::startDecoder(uint8_t, uint8_t, uint8_t)':
D:\Arduino\libraries\ESP32_VS1053_Stream\src\ESP32_VS1053_Stream.cpp:153:18: error: 'class VS1053' has no member named 'getChipVersion'
     if (_vs1053->getChipVersion() == 4)
                  ^~~~~~~~~~~~~~

I installed latest version of VS1053 (1.1.4) is there an earlier version that should be used? I can see it in the source:
https://github.com/baldram/ESP_VS1053_Library/blob/824f82cff459bba2b3184b29bc21f7547bc6c516/src/VS1053.cpp#L378C23-L378C23

@CelliesProjects
Copy link
Owner

@dieseltravis You are right. Get chip version was only added in baldram/ESP_VS1053_Library@ba1803f after the 1.1.4 release

See baldram/ESP_VS1053_Library@1.1.4...master

Pull the master branch, recompile and it will probably work.

@dieseltravis
Copy link
Author

@CelliesProjects that fixed it, thanks!

@CelliesProjects CelliesProjects pinned this issue Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants