File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ bool Transceiver::PinRead() {
121121 * @retval uint16_t : Analog pin value
122122 */
123123bool Transceiver::transceiverWrite (uint8_t data, uint8_t address) {
124- uint8_t addressInverse;
124+ // uint8_t addressInverse;
125125 uint8_t dataInverse;
126126
127127 // addressInverse = address^(uint8_t)0xFF;
@@ -158,7 +158,7 @@ uint8_t Transceiver::I2C_ReadData(Transceiver_DataPacket_TypeDef *dataPacket) {
158158
159159 _i2cPort->endTransmission ();
160160
161- if (_i2cPort->requestFrom (_i2cAddress, static_cast <uint8_t >(5 )) != 0 ); { // while(_i2cPort->available())
161+ if (_i2cPort->requestFrom (_i2cAddress, static_cast <uint8_t >(5 )) != 0 ) { // while(_i2cPort->available())
162162 dataPacket->rxData1 = _i2cPort->read ();
163163 dataPacket->rxData2 = _i2cPort->read ();
164164 dataPacket->rxData3 = _i2cPort->read ();
You can’t perform that action at this time.
0 commit comments