rusefi-1/firmware/hw_layer/mmc_card.h

29 lines
546 B
C

/*
* @file mmc_card.h
*
*
* @date Dec 30, 2013
* @author Kot_dnz
* @author Andrey Belomutskiy, (c) 2012-2020
*/
#pragma once
#ifdef __cplusplus
#include "tunerstudio_io.h"
#define DOT_MLG ".mlg"
bool isLogFile(const char *fileName);
void initMmcCard(void);
bool isSdCardAlive(void);
void readLogFileContent(char *buffer, short fileId, short offset, short length);
void handleTsR(TsChannelBase* tsChannel, char *input);
void handleTsW(TsChannelBase* tsChannel, char *input);
extern "C"
#endif
void onUsbConnectedNotifyMmcI(void);