Shinichiro Nakamura
/
Drive2ChoroQ
This is a demonstration of two Choro Q Hybrid cars.
Embed:
(wiki syntax)
Show/hide line numbers
appconf.h
00001 #ifndef _APPCONF_H_ 00002 #define _APPCONF_H_ 00003 00004 #include "ChoroQ.h" 00005 00006 typedef struct { 00007 ChoroQ::Channel ch1; 00008 ChoroQ::Channel ch2; 00009 } appconf_t; 00010 00011 /** 00012 * Initialize a configuration. 00013 * 00014 * @param p A pointer to a configuration structure. 00015 */ 00016 void appconf_init(appconf_t *p); 00017 00018 /** 00019 * Read a configuration. 00020 * 00021 * @param p A pointer to a configuration structure. 00022 * 00023 * @return Return 0 if read succeed. 00024 */ 00025 int appconf_read(appconf_t *p); 00026 00027 #endif
Generated on Wed Aug 3 2022 05:08:17 by 1.7.2