Subversion Repositories NaviCtrl

Rev

Rev 419 | Rev 433 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 419 Rev 432
Line 403... Line 403...
403
                case NC_ADDRESS:  // own Slave Address
403
                case NC_ADDRESS:  // own Slave Address
404
                switch(SerialMsg.CmdID)
404
                switch(SerialMsg.CmdID)
405
                {
405
                {
Line 406... Line 406...
406
                       
406
                       
-
 
407
                        case 'f': // ftp command
407
                        case 'f': // ftp command
408
                                if(FC.StatusFlags & FC_STATUS_MOTOR_RUN) break; // not if the motors are running
408
                                UART1_Request_FTP = SerialMsg.pData[0];
-
 
409
 
409
                                UART1_Request_FTP = SerialMsg.pData[0];
410
                                //if (UART1_Request_FTP == FTP_CMD_SET_CWD || UART1_Request_FTP == FTP_CMD_GET_FILE) 
410
                                //if (UART1_Request_FTP == FTP_CMD_SET_CWD || UART1_Request_FTP == FTP_CMD_GET_FILE) 
411
                                memcpy(&FTP_data, &SerialMsg.pData[1], sizeof(FTP_data)); // copy ftp parameter
411
                                memcpy(&FTP_data, &SerialMsg.pData[1], sizeof(FTP_data)); // copy ftp parameter
Line 412... Line 412...
412
                        break;
412
                        break;