mirror of https://github.com/MLXXXp/Arduboy2.git
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:
parent
ad5da39fdc
commit
5285c9d2af
|
@ -1,7 +1,7 @@
|
||||||
#ifndef Arduboy2_h
|
#ifndef ARDUBOY2_H
|
||||||
#define Arduboy2_h
|
#define ARDUBOY2_H
|
||||||
|
|
||||||
#include "core/core.h"
|
#include "ArduboyCore.h"
|
||||||
#include <Print.h>
|
#include <Print.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
#define EEPROM_STORAGE_SPACE_START 16 // and onward
|
#define EEPROM_STORAGE_SPACE_START 16 // and onward
|
||||||
|
|
||||||
// eeprom settings above are neded for audio
|
// eeprom settings above are neded for audio
|
||||||
#include "audio/audio.h"
|
#include "ArduboyAudio.h"
|
||||||
|
|
||||||
#define PIXEL_SAFE_MODE
|
#define PIXEL_SAFE_MODE
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include "Arduboy2.h"
|
#include "Arduboy2.h"
|
||||||
#include "audio.h"
|
#include "ArduboyAudio.h"
|
||||||
|
|
||||||
bool ArduboyAudio::audio_enabled = false;
|
bool ArduboyAudio::audio_enabled = false;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ArduboyAudio_h
|
#ifndef ARDUBOY_AUDIO_H
|
||||||
#define ArduboyAudio_h
|
#define ARDUBOY_AUDIO_H
|
||||||
|
|
||||||
#include <Arduino.h>
|
#include <Arduino.h>
|
||||||
#include <EEPROM.h>
|
#include <EEPROM.h>
|
|
@ -1,4 +1,4 @@
|
||||||
#include "core.h"
|
#include "ArduboyCore.h"
|
||||||
|
|
||||||
// need to redeclare these here since we declare them static in .h
|
// need to redeclare these here since we declare them static in .h
|
||||||
volatile uint8_t *ArduboyCore::csport, *ArduboyCore::dcport;
|
volatile uint8_t *ArduboyCore::csport, *ArduboyCore::dcport;
|
|
@ -1,5 +1,5 @@
|
||||||
#ifndef ArduboyCore_h
|
#ifndef ARDUBOY_CORE_H
|
||||||
#define ArduboyCore_h
|
#define ARDUBOY_CORE_H
|
||||||
|
|
||||||
#include <avr/power.h>
|
#include <avr/power.h>
|
||||||
#include <SPI.h>
|
#include <SPI.h>
|
Loading…
Reference in New Issue