Skip to content

Commit

Permalink
Main: disabled log writing to USB (allows for EXT# drives to be used …
Browse files Browse the repository at this point in the history
…properly...)

Signed-off-by: Swizzy <[email protected]>
  • Loading branch information
Swizzy authored and tuxuser committed Aug 28, 2013
1 parent 0b26679 commit 948046b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/lv2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,18 +187,18 @@ int main(){
#endif
/* Stop logging and save it to first USB Device found that is writeable */
LogDeInit();
extern char device_list[STD_MAX][10];

for (i = 0; i < device_list_size; i++)
{
if (strncmp(device_list[i], "ud", 2) == 0)
{
char tmp[STD_MAX + 8];
sprintf(tmp, "%sxell.log", device_list[i]);
if (LogWriteFile(tmp) == 0)
i = device_list_size;
}
}
//extern char device_list[STD_MAX][10];

//for (i = 0; i < device_list_size; i++)
//{
// if (strncmp(device_list[i], "ud", 2) == 0)
// {
// char tmp[STD_MAX + 8];
// sprintf(tmp, "%sxell.log", device_list[i]);
// if (LogWriteFile(tmp) == 0)
// i = device_list_size;
// }
//}


printf("\n * Looking for files on local media and TFTP...\n\n");
Expand Down

0 comments on commit 948046b

Please sign in to comment.