diff options
| author | Chen Wang <[email protected]> | 2025-06-09 10:38:31 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-06-10 14:21:46 +0800 |
| commit | ae86c6e8bbd026890456330898b59cc54d5354a6 (patch) | |
| tree | 60c68c289dc270e4da30f88d6e34fa457d6f06b4 /tools/codeblocks.py | |
| parent | 719cc90b02b9dae40043f7c3f77fd3d3f66fa3a5 (diff) | |
componnets: drivers: adc: remove build warnings
gcc build warnings:
cast from pointer to integer of different size [-Wpointer-to-int-cast]
For rt_adc_ops.enabled, the type of second param is rt_int8_t,
original _adc_control also called with wrong type casting.
Convert first to rt_base_t, then cast to rt_int8_t to remove the
build warnings.
Signed-off-by: Chen Wang <[email protected]>
Diffstat (limited to 'tools/codeblocks.py')
0 files changed, 0 insertions, 0 deletions
