Skip to content

Commit 59355fe

Browse files
committed
Renamed twi.c to twi.cpp
1 parent c8c514c commit 59355fe

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

Diff for: libraries/Wire/src/Wire.cpp

+4-6
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,10 @@
2121
Modified 2020 by Greyson Christoforo ([email protected]) to implement timeouts
2222
*/
2323

24-
extern "C" {
25-
#include <stdlib.h>
26-
#include <string.h>
27-
#include <inttypes.h>
28-
#include "utility/twi.h"
29-
}
24+
#include <stdlib.h>
25+
#include <string.h>
26+
#include <inttypes.h>
27+
#include "utility/twi.h"
3028

3129
#include "Wire.h"
3230

Diff for: libraries/Wire/src/utility/twi.c renamed to libraries/Wire/src/utility/twi.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
twi.c - TWI/I2C library for Wiring & Arduino
2+
twi.cpp - TWI/I2C library for Wiring & Arduino
33
Copyright (c) 2006 Nicholas Zambetti. All right reserved.
44
55
This library is free software; you can redistribute it and/or

0 commit comments

Comments
 (0)