The complier complains:
......./Arduino/libraries/SoftI2CMaster/SoftI2CMaster.h: In function 'bool i2c_start_wait(uint8_t)':
...../Arduino/libraries/SoftI2CMaster/SoftI2CMaster.h:566:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
Throwing a "return" before the close brace on line 566 seems to quiet it, but I'm not sure if it keeps its original function as my asm is a little rusty. I'll put together a little test and post the results.
The complier complains: ......./Arduino/libraries/SoftI2CMaster/SoftI2CMaster.h: In function 'bool i2c_start_wait(uint8_t)': ...../Arduino/libraries/SoftI2CMaster/SoftI2CMaster.h:566:1: warning: no return statement in function returning non-void [-Wreturn-type] }
Throwing a "return" before the close brace on line 566 seems to quiet it, but I'm not sure if it keeps its original function as my asm is a little rusty. I'll put together a little test and post the results.