* Patch by Jian Zhang, 3 Feb 2004:

- Changed the incorrect FAT12BUFSIZE
  - data_begin in fsdata can be negative. Changed it to be short.
* Code cleanup
This commit is contained in:
wdenk
2004-02-10 00:03:41 +00:00
parent ec4c544bed
commit cd37d9e6e5
9 changed files with 45 additions and 49 deletions

View File

@@ -74,10 +74,6 @@ static unsigned char bcd2bin (unsigned char c);
static unsigned char rtc_read (unsigned char reg);
static void rtc_write (unsigned char reg, unsigned char val);
/* ************************************************************************* */
#ifdef CONFIG_SXNI855T /* !!! SHOULD BE CHANGED TO NEW CODE !!! */
@@ -306,10 +302,6 @@ void rtc_reset (void)
#else /* not CONFIG_SXNI855T */
/* ************************************************************************* */
/* read clock time from DS1306 and return it in *tmp */
void rtc_get (struct rtc_time *tmp)
{