移植到stm32f1,实现手动线赋码控制器功能

This commit is contained in:
ranchuan
2023-09-09 17:27:06 +08:00
parent 8d779a68f3
commit 7baa63de05
382 changed files with 36618 additions and 148064 deletions

View File

@@ -10,7 +10,7 @@
#include "compiler_info.h"
#include "dev_backup.h"
#include "moter.h"
#include "key.h"
//#include "key.h"
@@ -160,7 +160,8 @@ static ucport_def *check(tran_def *t, uint8_t cmd,array_def *data)
u->u.doend=check_end;
DBG_LOG("check: skip=%d",u->ret_skip);
array_def *a=arr_creat();
if(key_pressed())
//if(key_pressed())
if(1)
{
tran_set_busy(t,1);
moter_down(check_when_moter_down,u);