Move core and audio files to the src directory

To allow ArduboyCore and ArduboyAudio to be used as public base classes.
Changed the file names to match the names of the classes they contain.
This commit is contained in:
Scott Allen 2016-06-27 18:52:10 -04:00
parent ad5da39fdc
commit 5285c9d2af
5 changed files with 10 additions and 10 deletions

View File

@ -1,7 +1,7 @@
#ifndef Arduboy2_h
#define Arduboy2_h
#ifndef ARDUBOY2_H
#define ARDUBOY2_H
#include "core/core.h"
#include "ArduboyCore.h"
#include <Print.h>
#include <limits.h>
@ -20,7 +20,7 @@
#define EEPROM_STORAGE_SPACE_START 16 // and onward
// eeprom settings above are neded for audio
#include "audio/audio.h"
#include "ArduboyAudio.h"
#define PIXEL_SAFE_MODE

View File

@ -1,5 +1,5 @@
#include "Arduboy2.h"
#include "audio.h"
#include "ArduboyAudio.h"
bool ArduboyAudio::audio_enabled = false;

View File

@ -1,5 +1,5 @@
#ifndef ArduboyAudio_h
#define ArduboyAudio_h
#ifndef ARDUBOY_AUDIO_H
#define ARDUBOY_AUDIO_H
#include <Arduino.h>
#include <EEPROM.h>

View File

@ -1,4 +1,4 @@
#include "core.h"
#include "ArduboyCore.h"
// need to redeclare these here since we declare them static in .h
volatile uint8_t *ArduboyCore::csport, *ArduboyCore::dcport;

View File

@ -1,5 +1,5 @@
#ifndef ArduboyCore_h
#define ArduboyCore_h
#ifndef ARDUBOY_CORE_H
#define ARDUBOY_CORE_H
#include <avr/power.h>
#include <SPI.h>