further semihosting support
This commit is contained in:
@@ -12,7 +12,7 @@ off_t __wrap_lseek(int fd, off_t ptr, int dir)
|
||||
#if defined(SEMIHOSTING)
|
||||
if(sh_istty(fd))
|
||||
return 0;
|
||||
sh_seek();
|
||||
sh_seek(fd, ptr);
|
||||
return ptr;
|
||||
#endif
|
||||
if (isatty(fd))
|
||||
|
Reference in New Issue
Block a user