SD-card Model Backup bug when model name greater than 8 chars

This commit is contained in:
bsongis
2012-05-23 12:18:24 +00:00
parent f9673e3b8b
commit e32eeec487
9 changed files with 23 additions and 12 deletions
+2 -2
View File
@@ -31,7 +31,7 @@
*
*/
#include "gtime.h"
#include "../open9x.h"
#define LEAP_SECONDS_POSSIBLE 0
@@ -479,7 +479,7 @@ __mktime_internal (struct gtm *tp,
/* Convert *TP to a gtime_t value. */
gtime_t
mktime (struct gtm *tp)
gmktime (struct gtm *tp)
{
// no time zone stuff. Just do the math ;)
static gtime_t localtime_offset;
+1 -1
View File
@@ -56,7 +56,7 @@ struct gtm
extern const unsigned short int __mon_yday[2][13];
extern gtime_t mktime(struct gtm *tp);
extern gtime_t gmktime(struct gtm *tp);
extern gtime_t filltm(gtime_t *t, struct gtm *tp);
#endif
+1 -1
View File
@@ -53,7 +53,7 @@ extern FIL g_oLogFile;
extern void initLogs();
extern void writeLogs();
const pm_char *SDCARD_ERROR(FRESULT result)
inline const pm_char *SDCARD_ERROR(FRESULT result)
{
if (result == FR_NOT_READY)
return STR_NO_SDCARD;