This is a demonstration of two Choro Q Hybrid cars.

appconf.h

Committer:
shintamainjp
Date:
2010-11-22
Revision:
0:d825f8dae2be

File content as of revision 0:d825f8dae2be:

#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