File tree Expand file tree Collapse file tree 1 file changed +3
-13
lines changed
libraries/Wire/src/utility Expand file tree Collapse file tree 1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 1919* THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
2020*
2121 *****************************************************************************/
22- #ifndef TWI_MASTER_DRIVER_H
23- #define TWI_MASTER_DRIVER_H
22+ #ifndef TWI_DRIVER_H
23+ #define TWI_DRIVER_H
2424
2525#include "avr/io.h"
2626
27- // typedef uint8_t bool;
28- // #define false 0
29- // #define true 1
30-
31- //#define F_CPU_CORRECTED 16000000
32-
33- /*! Baud register setting calculation. Formula described in datasheet. */
34- //#define TWI_BAUD(F_SYS, F_TWI) ((F_SYS / (2 * F_TWI)) - 5)
35-
36-
3727/*! Transaction status defines. */
3828#define TWIM_STATUS_READY 0
3929#define TWIM_STATUS_BUSY 1
@@ -167,4 +157,4 @@ void TWI_SlaveTransactionFinished(uint8_t result);
167157 */
168158
169159
170- #endif /* TWI_MASTER_DRIVER_H */
160+ #endif /* TWI_DRIVER_H */
You can’t perform that action at this time.
0 commit comments