23 lines
603 B
C
23 lines
603 B
C
/**
|
|
* @file settings.h
|
|
* @brief This file is about configuring engine via the human-readable protocol
|
|
*
|
|
* @date Dec 30, 2012
|
|
* @author Andrey Belomutskiy, (c) 2012-2017
|
|
*/
|
|
|
|
#ifndef SETTINGS_H_
|
|
#define SETTINGS_H_
|
|
|
|
#include "engine.h"
|
|
|
|
void initSettings(void);
|
|
void printSpiState(Logging *logger, board_configuration_s *boardConfiguration);
|
|
void printConfiguration(const engine_configuration_s *engineConfiguration);
|
|
void stopEngine(void);
|
|
void setCallFromPitStop(int durationMs);
|
|
void setEngineType(int value);
|
|
const char* getConfigurationName(engine_type_e engineType);
|
|
|
|
#endif /* SETTINGS_H_ */
|