-
Dean Camera authored
Make TWI_ReadPacket() use a repeated start condition rather than a full bus release/recapture after the read address has been sent. Fix TWI_ReadPacket() not releasing the bus correctly after all data transferred. Make TWI_SendByte() and TWI_ReceiveByte() non-inline to reduce compiled binary size.
Dean Camera authoredMake TWI_ReadPacket() use a repeated start condition rather than a full bus release/recapture after the read address has been sent. Fix TWI_ReadPacket() not releasing the bus correctly after all data transferred. Make TWI_SendByte() and TWI_ReceiveByte() non-inline to reduce compiled binary size.
TWI_AVR8.h 12.33 KiB