Skip to content

Commit 716c324

Browse files
committed
Renaming module 'millis' to 'MillisFake' to better reflect the actual nature of the module
1 parent 4f5332d commit 716c324

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Diff for: test/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ set(TEST_TARGET_SRCS
9292
src/dtostrf.cpp
9393
src/itoa.cpp
9494
src/PrintMock.cpp
95-
src/millis.cpp
95+
src/MillisFake.cpp
9696
${TEST_SRCS}
9797
${TEST_DUT_SRCS}
9898
)

Diff for: test/include/millis.h renamed to test/include/MillisFake.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* Copyright (c) 2020 Arduino. All rights reserved.
33
*/
44

5-
#ifndef MILLIS_H_
6-
#define MILLIS_H_
5+
#ifndef MILLIS_FAKE_H_
6+
#define MILLIS_FAKE_H_
77

88
/**************************************************************************************
99
* INCLUDE
@@ -25,4 +25,4 @@ void set_millis(unsigned long const val);
2525
}
2626
#endif
2727

28-
#endif /* MILLIS_H_ */
28+
#endif /* MILLIS_FAKE_H_ */

Diff for: test/src/millis.cpp renamed to test/src/MillisFake.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* INCLUDE
77
**************************************************************************************/
88

9-
#include <millis.h>
9+
#include <MillisFake.h>
1010

1111
/**************************************************************************************
1212
* GLOBAL VARIABLES

0 commit comments

Comments
 (0)