added second reaction wheel

This commit is contained in:
Martin Zietz
2021-06-28 14:07:37 +02:00
parent 516ef34b21
commit 23731e367c
7 changed files with 76 additions and 30 deletions

View File

@ -93,7 +93,7 @@ ReturnValue_t rwSpiCallback(SpiComIF* comIf, SpiCookie *cookie, const uint8_t *s
idx++;
}
/** Sending frame start sign */
/** Sending frame end sign */
writeBuffer[0] = 0x7E;
writeSize = 1;
@ -155,7 +155,7 @@ ReturnValue_t rwSpiCallback(SpiComIF* comIf, SpiCookie *cookie, const uint8_t *s
/** Reached end of frame */
break;
}
else if (byteRead == 0xD) {
else if (byteRead == 0x7D) {
if(read(fileDescriptor, &byteRead, 1) != 1) {
sif::error << "rwSpiCallback: Read failed" << std::endl;
result = RwHandler::SPI_READ_FAILURE;