Files

28 lines
468 B
C
Raw Permalink Normal View History

2026-03-31 15:40:09 +08:00
#ifndef __MOD_H
#define __MOD_H
#include "main.h"
typedef void (*ToggleFunc)(void);
typedef void (*DelayFunc)(uint32_t);
typedef struct
{
void (*Loop)(ToggleFunc toggle, DelayFunc delayFunc, uint8_t iterations, uint32_t delayTime);
} MODClassStruct;
typedef struct {
const char *e_val;
const char *t_val;
const char *r_val;
const char *c_val;
} LoraCommandParams;
extern MODClassStruct MODClass;
extern LoraCommandParams cmd_params[];
#endif