This commit is contained in:
Stephen Crane 2018-11-18 12:20:05 +00:00
parent 231041d7aa
commit c6bb27a148
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ bool sdtape::start(const char *programs)
void sdtape::stop()
{
#if defined(STORAGE)
#if STORAGE
file.close();
#endif
}
@ -49,7 +49,7 @@ bool sdtape::more()
{
if (_pos >= _len) {
_pos = 0;
#if defined(STORAGE)
#if STORAGE
_len = file.read(_buf, sizeof(_buf));
#endif
if (_len == 0) // eof
@ -59,7 +59,7 @@ bool sdtape::more()
}
const char *sdtape::advance() {
#if defined(STORAGE)
#if STORAGE
bool rewound = false;
file.close();
#if defined(USE_FS)