红外改为0.1.1版,关闭发送接收样例
This commit is contained in:
parent
8502fe18b5
commit
e0434cae47
16
.config
16
.config
|
@ -1146,18 +1146,12 @@ CONFIG_NEC_DEVIATION=100
|
||||||
# end of Select infrared decoder
|
# end of Select infrared decoder
|
||||||
|
|
||||||
CONFIG_PKG_USING_DRV_INFRARED=y
|
CONFIG_PKG_USING_DRV_INFRARED=y
|
||||||
CONFIG_INFRARED_SEND=y
|
# CONFIG_INFRARED_SEND is not set
|
||||||
CONFIG_INFRARED_SEND_PWM="pwm4"
|
# CONFIG_INFRARED_RECEIVE is not set
|
||||||
CONFIG_INFRARED_PWM_DEV_CHANNEL=3
|
|
||||||
CONFIG_INFRARED_SEND_HWTIMER="timer15"
|
|
||||||
CONFIG_INFRARED_MAX_SEND_SIZE=1000
|
|
||||||
CONFIG_INFRARED_RECEIVE=y
|
|
||||||
CONFIG_INFRARED_RECEIVE_PIN=17
|
|
||||||
CONFIG_INFRARED_RECEIVE_HWTIMER="timer16"
|
|
||||||
# CONFIG_PKG_USING_INFRARED_V010 is not set
|
# CONFIG_PKG_USING_INFRARED_V010 is not set
|
||||||
# CONFIG_PKG_USING_INFRARED_V011 is not set
|
CONFIG_PKG_USING_INFRARED_V011=y
|
||||||
CONFIG_PKG_USING_INFRARED_LATEST_VERSION=y
|
# CONFIG_PKG_USING_INFRARED_LATEST_VERSION is not set
|
||||||
CONFIG_PKG_INFRARED_VER="latest"
|
CONFIG_PKG_INFRARED_VER="v0.1.1"
|
||||||
# CONFIG_PKG_USING_MULTI_INFRARED is not set
|
# CONFIG_PKG_USING_MULTI_INFRARED is not set
|
||||||
# CONFIG_PKG_USING_AGILE_BUTTON is not set
|
# CONFIG_PKG_USING_AGILE_BUTTON is not set
|
||||||
# CONFIG_PKG_USING_AGILE_LED is not set
|
# CONFIG_PKG_USING_AGILE_LED is not set
|
||||||
|
|
|
@ -4,4 +4,6 @@
|
||||||
![alt text](image-1.png)
|
![alt text](image-1.png)
|
||||||
移出来+头文件可以编译
|
移出来+头文件可以编译
|
||||||
但
|
但
|
||||||
![alt text](image.png)
|
![alt text](image.png)
|
||||||
|
对照示例0.1.1版什么都不用做,也不会报错什么没定义
|
||||||
|
.config/rtconfig.h
|
10
rtconfig.h
10
rtconfig.h
|
@ -498,15 +498,7 @@
|
||||||
#define NEC_DEVIATION 100
|
#define NEC_DEVIATION 100
|
||||||
/* end of Select infrared decoder */
|
/* end of Select infrared decoder */
|
||||||
#define PKG_USING_DRV_INFRARED
|
#define PKG_USING_DRV_INFRARED
|
||||||
#define INFRARED_SEND
|
#define PKG_USING_INFRARED_V011
|
||||||
#define INFRARED_SEND_PWM "pwm4"
|
|
||||||
#define INFRARED_PWM_DEV_CHANNEL 3
|
|
||||||
#define INFRARED_SEND_HWTIMER "timer15"
|
|
||||||
#define INFRARED_MAX_SEND_SIZE 1000
|
|
||||||
#define INFRARED_RECEIVE
|
|
||||||
#define INFRARED_RECEIVE_PIN 17
|
|
||||||
#define INFRARED_RECEIVE_HWTIMER "timer16"
|
|
||||||
#define PKG_USING_INFRARED_LATEST_VERSION
|
|
||||||
/* end of peripheral libraries and drivers */
|
/* end of peripheral libraries and drivers */
|
||||||
|
|
||||||
/* AI packages */
|
/* AI packages */
|
||||||
|
|
Loading…
Reference in New Issue