Shinichiro Nakamura
/
Drive2ChoroQ
This is a demonstration of two Choro Q Hybrid cars.
Diff: appconf.h
- Revision:
- 0:d825f8dae2be
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appconf.h Mon Nov 22 12:23:23 2010 +0000 @@ -0,0 +1,27 @@ +#ifndef _APPCONF_H_ +#define _APPCONF_H_ + +#include "ChoroQ.h" + +typedef struct { + ChoroQ::Channel ch1; + ChoroQ::Channel ch2; +} appconf_t; + +/** + * Initialize a configuration. + * + * @param p A pointer to a configuration structure. + */ +void appconf_init(appconf_t *p); + +/** + * Read a configuration. + * + * @param p A pointer to a configuration structure. + * + * @return Return 0 if read succeed. + */ +int appconf_read(appconf_t *p); + +#endif