|
|
@@ -297,6 +297,11 @@ void Main_Cycle(void)
|
|
|
Interface_PutString("\r\n\r\nS to start\r\n\r\n");
|
|
|
while(1)
|
|
|
{
|
|
|
+ if(hcdc->RxLength > 1024){
|
|
|
+ uint8_t t[1] = {0};
|
|
|
+ Interface_Receive(t, 1, 10);
|
|
|
+ continue;
|
|
|
+ }
|
|
|
if(1)
|
|
|
{
|
|
|
if(Interface_Receive(sKey, 2, IAP_S_TIME) == HAL_OK)
|