File tree 1 file changed +3
-13
lines changed
libraries/Wire/src/utility
1 file changed +3
-13
lines changed Original file line number Diff line number Diff line change 19
19
* THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR THIS SOFTWARE.
20
20
*
21
21
*****************************************************************************/
22
- #ifndef TWI_MASTER_DRIVER_H
23
- #define TWI_MASTER_DRIVER_H
22
+ #ifndef TWI_DRIVER_H
23
+ #define TWI_DRIVER_H
24
24
25
25
#include "avr/io.h"
26
26
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
-
37
27
/*! Transaction status defines. */
38
28
#define TWIM_STATUS_READY 0
39
29
#define TWIM_STATUS_BUSY 1
@@ -167,4 +157,4 @@ void TWI_SlaveTransactionFinished(uint8_t result);
167
157
*/
168
158
169
159
170
- #endif /* TWI_MASTER_DRIVER_H */
160
+ #endif /* TWI_DRIVER_H */
You can’t perform that action at this time.
0 commit comments