Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add line for Atmega4808 #99

Open
andonoc opened this issue Aug 2, 2021 · 1 comment
Open

Add line for Atmega4808 #99

andonoc opened this issue Aug 2, 2021 · 1 comment

Comments

@andonoc
Copy link

andonoc commented Aug 2, 2021

Hello,
sorry but i cant use GIT properly and i don't know how to make a pull request.
For using a ATMEGA4808 i changed line 18 in util/OneWire_direct_gpio.h to

#if defined(AVR_ATmega4809) || (AVR_ATmega4808)

after this change the library works for me.

@sameSEA
Copy link

sameSEA commented Apr 12, 2023

Thank this, it saved me time!
With Platformio and MegaCoreX that line 18 should be:
#if defined(__AVR_ATmega4809__) || defined(__AVR_ATmega4808__)

or just
#if defined(MEGACOREX)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants