feat: Add rfid feature and .gitignore file

This commit is contained in:
lmx
2025-11-28 16:25:35 +08:00
parent 818e8c3778
commit ade4b0a1f8
1244 changed files with 342105 additions and 0 deletions

View File

@ -0,0 +1,43 @@
/*********************************************************************************************
* Filename : config_target.h
* Description :
* Author : Bingquan
* Email : bingquan_cai@zh-jieli.com
* Last modifiled : 2019-01-09 19:28
* Copyright:(c)JIELI 2011-2017 @ , All Rights Reserved.
*********************************************************************************************/
#ifndef _CONFIG_TARGET_H_
#define _CONFIG_TARGET_H_
#include "typedef.h"
#define EQ_CONFIG_ID 0x0005
#define EFFECTS_CONFIG_ID 0x0006
#define AEC_CONFIG_ID 0x0008
typedef void (*ci_packet_handler_t)(uint8_t *packet, uint16_t size);
struct config_target {
u16 id;
ci_packet_handler_t callback;
};
#define REGISTER_CONFIG_TARGET(target) \
const struct config_target target sec(.config_target)
extern const struct config_target config_target_begin[];
extern const struct config_target config_target_end[];
#define list_for_each_config_target(p) \
for (p = config_target_begin; p < config_target_end; p++)
#endif