esp-cpp / espp

C++ components for ESP
https://esp-cpp.github.io/espp/
MIT License
30 stars 9 forks source link

fix(adc): fix deprecation warning from include in adc_types.hpp #255

Closed finger563 closed 4 months ago

finger563 commented 4 months ago

Description

Use <hal/adc_types.h> instead of older <driver/adc.h> which is deprecated (and unused elsewhere within espp).

Motivation and Context

Removes spurious warning.

How has this been tested?

Building adc example.

Screenshots (if appropriate, e.g. schematic, board, console logs, lab pictures):

Types of changes