增加上电三色轮换与记忆策略
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include "light_transition.h"
|
||||
#include "pwm.h"
|
||||
#include "rf433_decoder.h"
|
||||
#include "timeslice.h"
|
||||
union rf433_flag rf_flag = {0};
|
||||
unsigned char high_level_time;
|
||||
unsigned char low_level_time;
|
||||
@@ -453,7 +454,6 @@ void _433_fun(){
|
||||
}
|
||||
if(Key_TypeDef.KEY_STATE_Click==1||KEY_STATE_re==1) return;
|
||||
set_click();
|
||||
sss=1;//记忆标志位
|
||||
switch(res_data){
|
||||
//椭圆
|
||||
case ON://单击
|
||||
@@ -534,6 +534,7 @@ void _433_fun(){
|
||||
}
|
||||
break;
|
||||
}
|
||||
set_TaskComps_timer(2U, 1000U);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user