Reindented most of the files (still work to be done there)
Now support the BW and Color IROM Internal EEPROM support is now nearly correct (still some odd thing happening)
This commit is contained in:
@@ -27,11 +27,15 @@ FILE *log_stream=NULL;
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
int log_init(char *path)
|
||||
{
|
||||
//log_stream=fopen(path,"wrt");
|
||||
log_stream = stdout;
|
||||
if (log_stream==NULL)
|
||||
return(0);
|
||||
return(1);
|
||||
//log_stream=fopen(path,"wrt");
|
||||
log_stream = stdout;
|
||||
|
||||
if (log_stream==NULL)
|
||||
{
|
||||
return(0);
|
||||
}
|
||||
|
||||
return(1);
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@@ -45,7 +49,7 @@ int log_init(char *path)
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
FILE *log_get(void)
|
||||
{
|
||||
return(log_stream);
|
||||
return(log_stream);
|
||||
}
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
@@ -59,5 +63,5 @@ FILE *log_get(void)
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
void log_done(void)
|
||||
{
|
||||
fclose(log_stream);
|
||||
fclose(log_stream);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user