You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
425 B
30 lines
425 B
/*
|
|
* cmdp.h
|
|
*
|
|
* Created: 23-Feb-19 17:59:45
|
|
* Author: Edwin
|
|
*/
|
|
|
|
|
|
#ifndef CMDP_H_
|
|
#define CMDP_H_
|
|
|
|
#define cmbd_ENTRY_LIST_SIZE 1
|
|
|
|
#include "entryf.h"
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
/*
|
|
typedef (*callback_t)();
|
|
|
|
typedef struct
|
|
{
|
|
char *name;
|
|
callback_t callback;
|
|
}entry_t;
|
|
|
|
entry_t entryList[cmbd_ENTRY_LIST_SIZE] = {"led on", turnOnLed, "led off",turnOffLed};
|
|
|
|
void parse(char *input);
|
|
*/
|
|
#endif /* CMDP_H_ */ |