Skip to content

Missing ADCPowerOptions #568

@andrewwatkin

Description

@andrewwatkin

DxCore 1.5.11 "targeting AVR DA-series (no bootloader)"

According to Ref_Analog.md I would have expected ADCPowerOptions() to be available, as it is in MegaTinyCore.

However it is not. The following does not compile:

void setup() {
  // put your setup code here, to run once:
  ADCPowerOptions(ADC_ENABLE);
}

void loop() {
  // put your main code here, to run repeatedly:
}

In wiring_analog.c, ADCPowerOptions() is only defined when AVR_EA is defined. All other functions are defined (separately) whether AVR_EA is defined or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugBehavior of core does not match API or reasonable expectations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions