移植到stm32f1,实现手动线赋码控制器功能
This commit is contained in:
		| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 ranchuan
					ranchuan