feat: 移植从机通信帧协议
This commit is contained in:
16
app/tiny_frame/by_tiny_frame.h
Normal file
16
app/tiny_frame/by_tiny_frame.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef _BY_TINY_FRAME_H__
|
||||
#define _BY_TINY_FRAME_H__
|
||||
|
||||
#include "by_tiny_frame_config.h"
|
||||
|
||||
#if defined(BY_TF_DEVICE_MASTER)
|
||||
#include "by_tiny_frame_master_read.h"
|
||||
#include "by_tiny_frame_master_write.h"
|
||||
#elif defined(BY_TF_DEVICE_SLAVE)
|
||||
#include "by_tiny_frame_slave_read_write.h"
|
||||
#endif
|
||||
|
||||
extern void by_tiny_frame_init(void);
|
||||
void by_tiny_frame_run(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user