Skip to content

Commit

Permalink
Removed obsolete FATFS-related code
Browse files Browse the repository at this point in the history
circle-newlib does no longer actually need a pointer to the
filesystem instance after the switch to FATFS.

Removed the corresponding code from circle-newlib and
circle-stdlib.
  • Loading branch information
smuehlst committed Dec 20, 2022
1 parent e8609bc commit e880dc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 15 deletions.
12 changes: 0 additions & 12 deletions include/circle_glue.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,6 @@
#include "wrap_fatfs.h"
#include <circle/input/console.h>

/**
* Initialize stdio for file system and console I/O (stdin/stdout/stderr).
* Must only be called once.
*/
void CGlueStdioInit (FATFS& rFATFileSystem, CConsole& rConsole);

/**
* Initialize stdio only for file system I/O.
* Must only be called once.
*/
void CGlueStdioInit (FATFS& rFATFileSystem);

/**
* Initialize stdio only for console I/O (stdin/stdout/stderr).
* Must only be called once.
Expand Down
4 changes: 2 additions & 2 deletions include/circle_stdlib_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ class CStdlibAppStdio: public CStdlibAppScreen
return false;
}

// Initialize newlib stdio with a reference to Circle's file system and console
CGlueStdioInit (mFileSystem, mConsole);
// Initialize newlib stdio with a reference to Circle's console
CGlueStdioInit (mConsole);

mLogger.Write (GetKernelName (), LogNotice, "Compile time: " __DATE__ " " __TIME__);

Expand Down
2 changes: 1 addition & 1 deletion libs/circle-newlib

0 comments on commit e880dc0

Please sign in to comment.