Skip to content

Commit

Permalink
pgmspace.h location fix for ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
tdicola committed Jul 8, 2015
1 parent f811475 commit 2e34d2e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions glcdfont.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#include <avr/io.h>
#include <avr/pgmspace.h>
#ifdef __AVR__
#include <avr/io.h>
#include <avr/pgmspace.h>
#elif defined(ESP8266)
#include <pgmspace.h>
#else
#define PROGMEM
#endif

#ifndef FONT5X7_H
#define FONT5X7_H
Expand Down

0 comments on commit 2e34d2e

Please sign in to comment.