refact: 将读写的应用层接口根据主从分开

This commit is contained in:
bmy
2024-02-23 21:25:55 +08:00
parent 1c5c78976f
commit 3a4c25dc4d
7 changed files with 32 additions and 11 deletions

View File

@@ -0,0 +1,11 @@
#ifndef _BY_TINY_FRAME_MASTER_READ_H__
#define _BY_TINY_FRAME_MASTER_READ_H__
#include "by_tiny_frame_config.h"
#if defined(BY_TF_DEVICE_MASTER)
#define BY_TINY_FRAME_WRITE_CMD_CODE (0x03)
#endif
#endif