Skip to content

Fix warnings and clean up a RTC driver - #440

Merged
jessebraham merged 1 commit into
esp-rs:mainfrom
JurajSadel:fix_warnings
Mar 14, 2023
Merged

Fix warnings and clean up a RTC driver#440
jessebraham merged 1 commit into
esp-rs:mainfrom
JurajSadel:fix_warnings

Conversation

@JurajSadel

Copy link
Copy Markdown
Contributor

Removes unused C6's enable_8m(), which is used in estimate_xtal_frequency() and we don't have it for C6 yet.
Removes a bunch of duplicated C6-related functions.

closes #437

@bjoernQ bjoernQ left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

We can re-add the functions once we choose to implement the functionality that will use it.

Probably we also need some more refactoring for the whole module in future - e.g. seems that RtcCalInternalOsc is also not available on ESP32-C2

@jessebraham
jessebraham merged commit ec6220f into esp-rs:main Mar 14, 2023
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

Successfully merging this pull request may close these issues.

Fix Compiler Warnings introduced by ESP32-C6 Support

4 participants