mirror of
https://github.com/jscrane/r65emu.git
synced 2024-10-31 13:05:08 +00:00
spiram configuration
This commit is contained in:
parent
df4fc63c86
commit
3958d598b9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user