pref: 修改glz的单词拼写错误
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
enum barrier_type_e barrier_type = BARRIER_NONE;
|
||||
enum s_type_e s_type = S_NONE;
|
||||
enum shiled_type_e shiled_type = SHILED_NONE;
|
||||
enum shield_type_e shield_type = SHIELD_NONE;
|
||||
float (*mid_track_s)[2];
|
||||
int32_t mid_track_count_s;
|
||||
int temp_min_s;
|
||||
@@ -150,17 +150,17 @@ void RunS()
|
||||
}
|
||||
|
||||
|
||||
void Check_shiled(){
|
||||
void Check_shield(){
|
||||
if (begin_flag == 1)
|
||||
{
|
||||
shiled_type = SHILED_BEGIN;
|
||||
shield_type = SHIELD_BEGIN;
|
||||
timer_clear(TIM_3);
|
||||
timer_start(TIM_3);
|
||||
begin_flag = 0;
|
||||
}
|
||||
if (timer_get(TIM_3) > 1000 && shiled_type == SHILED_BEGIN)
|
||||
if (timer_get(TIM_3) > 1000 && shield_type == SHIELD_BEGIN)
|
||||
{
|
||||
shiled_type = SHILED_NONE;
|
||||
shield_type = SHIELD_NONE;
|
||||
timer_stop(TIM_3);
|
||||
timer_clear(TIM_3);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user