1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-10-31 13:05:08 +00:00

spiram configuration

This commit is contained in:
Stephen Crane 2018-08-10 13:54:00 +01:00
parent df4fc63c86
commit 3958d598b9
2 changed files with 4 additions and 1 deletions

View File

@ -44,7 +44,7 @@ void hardware_restore(class Stream &);
#ifdef __PS2DRV_H__
extern class PS2Driver ps2;
#endif
#ifdef __SPIRAM_H__
#if defined(__SPIRAM_H__) && defined(SPIRAM_CS)
extern class spiram sram;
#endif
#ifdef UTFT_h

View File

@ -4,6 +4,8 @@
#include "spiram.h"
#include "hardware.h"
#if defined(SPIRAM_CS)
extern SPIClass SPIRAM_DEV;
SpiRAM spiRam(SPIRAM_DEV, SPIRAM_CS);
@ -36,3 +38,4 @@ void spiram::restore(Stream &s)
}
}
#endif