Rev 1508 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1508 | Rev 1509 | ||
---|---|---|---|
Line 17... | Line 17... | ||
17 | unsigned char *SPI_TX_Buffer; |
17 | unsigned char *SPI_TX_Buffer; |
Line 18... | Line 18... | ||
18 | 18 | ||
19 | unsigned char SPITransferCompleted, SPI_ChkSum; |
19 | unsigned char SPITransferCompleted, SPI_ChkSum; |
Line 20... | Line 20... | ||
20 | unsigned char SPI_RxDataValid,NaviDataOkay = 0; |
20 | unsigned char SPI_RxDataValid,NaviDataOkay = 0; |
21 | 21 | ||
Line 22... | Line 22... | ||
22 | unsigned char SPI_CommandSequence[] = { SPI_FCCMD_USER, SPI_FCCMD_STICK, SPI_FCCMD_PARAMETER1, SPI_FCCMD_STICK, SPI_FCCMD_MISC, SPI_FCCMD_VERSION, SPI_FCCMD_SERVOS }; |
22 | unsigned char SPI_CommandSequence[] = {SPI_FCCMD_STICK, SPI_FCCMD_USER, SPI_FCCMD_PARAMETER1, SPI_FCCMD_STICK, SPI_FCCMD_MISC, SPI_FCCMD_VERSION, SPI_FCCMD_STICK, SPI_FCCMD_SERVOS, SPI_FCCMD_ACCU}; |
Line 23... | Line 23... | ||
23 | unsigned char SPI_CommandCounter = 0; |
23 | unsigned char SPI_CommandCounter = 0; |