1
0
forked from me/IronOS

Cleanup user functions

This commit is contained in:
Ben V. Brown
2021-05-01 13:17:10 +10:00
parent 2ca2f9084f
commit 7fba51649a
9 changed files with 57 additions and 57 deletions

View File

@@ -50,7 +50,7 @@ bool fusb_write_byte(uint8_t addr, uint8_t byte) { return FRToSI2C::Mem_Write(FU
*/
bool fusb_write_buf(uint8_t addr, uint8_t size, const uint8_t *buf) { return FRToSI2C::Mem_Write(FUSB302B_ADDR, addr, (uint8_t *)buf, size); }
uint8_t fusb302_detect() {
bool fusb302_detect() {
// Probe the I2C bus for its address
return FRToSI2C::probe(FUSB302B_ADDR);
}