Skip to content

Error when using internal clock for Lan8720 #636

Description

@processor83

ESPixelStick Firmware Version
4.x-dev compiled today

Hardware Version
my board
GPIO_Defs_ESP32_ESP3DEUXQuattro_DMX

Binary release or compiled yourself?
compiled myself and older version provided for test..

Operating System (and version)
Windows 10

Web Browser (and version)
Chrome

Access Point
WIRED

Describe the bug

When external ossciator is not used there is errors because gpio is defined as -1

// Pin# of the enable signal for the external crystal oscillator (-1 to disable for internal APLL source)
#define DEFAULT_ETH_POWER_PIN gpio_num_t(-1)
#define DEFAULT_ETH_POWER_PIN_ACTIVE HIGH

UI is not happy and show a red exclamation mark and if i check the serial outbut i have this error.

[ 10694][E][esp32-hal-gpio.c:102] __pinMode(): Invalid pin selected
E (10687) gpio: gpio_set_level(226): GPIO output gpio_num error

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions