Skip to content

Typo: MAX_ADC_RESOLUTION should be MAX_PWM_RESOLUTION ? #1378

Closed
@AndrewBCN

Description

@AndrewBCN

Hello,
in source file:
https://github.com/stm32duino/Arduino_Core_STM32/blob/master/cores/arduino/wiring_analog.c

line 123
_internalWriteResolution = MAX_ADC_RESOLUTION;

should (?) be
_internalWriteResolution = MAX_PWM_RESOLUTION;

since the max ADC resolution is irrelevant for the analogWrite function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions