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

Fixed "optiLoad.h not found" error. #12

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions optiLoader.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef OPTILOADER_H
#define OPTILOADER_H

#include <stdint.h>

typedef struct image {
Expand All @@ -23,3 +26,5 @@ typedef struct alias {

// Forward decl
extern const image_t PROGMEM image_328, image_328p, image_168, image_8;

#endif
5 changes: 4 additions & 1 deletion optiLoader.ino
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,10 @@


#include <avr/pgmspace.h>

#ifndef OPTILOADER_H
#include "optiLoader.h"
#endif

char Arduino_preprocessor_hint;

Expand Down Expand Up @@ -912,4 +915,4 @@ const image_t PROGMEM image_8 = {
}
};