Skip to content

Commit ccbc35b

Browse files
Roy, ElizabethRoy, Elizabeth
Roy, Elizabeth
authored and
Roy, Elizabeth
committed
changed header ifdef name
1 parent 3c900c4 commit ccbc35b

File tree

1 file changed

+3
-13
lines changed
  • libraries/Wire/src/utility

1 file changed

+3
-13
lines changed

Diff for: libraries/Wire/src/utility/twi.h

+3-13
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,11 @@
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 */

0 commit comments

Comments
 (0)