Skip to content

Commit 2ad751f

Browse files
committed
Change conditional on AVR included
Changed #IF to positive logic to include only if AVR
1 parent 2ea30f4 commit 2ad751f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClickEncoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
// ----------------------------------------------------------------------------
1616

1717
#include <stdint.h>
18-
#ifndef ARDUINO_ARCH_ESP8266
18+
#if defined(__AVR__)
1919
#include <avr/io.h>
2020
#include <avr/interrupt.h>
2121
#include <avr/pgmspace.h>

0 commit comments

Comments
 (0)