SD-card Model Backup bug when model name greater than 8 chars
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user