仓库迁移

This commit is contained in:
andy
2023-06-10 11:52:00 +08:00
parent e4616bfae5
commit 077c27f2bb
499 changed files with 199745 additions and 92 deletions

24
source/task/log.h Normal file
View File

@@ -0,0 +1,24 @@
#ifndef log_h__
#define log_h__
#include "stdint.h"
typedef struct{
int (*init)(void);
int (*write)(const uint8_t *d,int len);
int (*read)(uint8_t *d,int len);
void *(*set_irqfun)(void (*fun)(uint8_t d,void *context),void *context);
}log_typedef;
log_typedef *mylog(void);
#endif