This is a example application for StarBoard Orange designed by @logic_star. This example can be drive a CHORO Q HYBRID.
Diff: appconf.h
- Revision:
- 1:03c8bc666945
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/appconf.h Mon Sep 20 02:09:54 2010 +0000 @@ -0,0 +1,26 @@ +#ifndef _APPCONF_H_ +#define _APPCONF_H_ + +#include "ChoroQ.h" + +typedef struct { + ChoroQ::Channel channel; +} 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