@@ -67,9 +67,9 @@ This structure of the code is recommended for applications with only one active
67
67
</attribute >
68
68
</package >
69
69
<directory name =" ." >
70
- <file name =" bsp.h " >
71
- <text >#ifndef BSP_H
72
- #define BSP_H
70
+ <file name =" bsp.hpp " >
71
+ <text >#ifndef BSP_HPP
72
+ #define BSP_HPP
73
73
74
74
class BSP {
75
75
public:
@@ -79,14 +79,13 @@ public:
79
79
static void ledOn(void);
80
80
};
81
81
82
- #endif // BSP_H
82
+ #endif // BSP_HPP
83
83
</text >
84
84
</file >
85
85
<file name =" bsp.cpp" >
86
- <text >#include " qpcpp.h" // QP-C++ framework
87
- #include " blinky.h" // Blinky application interface
88
- #include " bsp.h" // Board Support Package (BSP)
89
- #include " Arduino.h" // Arduino facilities
86
+ <text >#include " qpcpp.hpp" // QP-C++ framework
87
+ #include " blinky.hpp" // Blinky application interface
88
+ #include " bsp.hpp" // Board Support Package (BSP)
90
89
91
90
using namespace QP;
92
91
@@ -178,9 +177,9 @@ extern "C" void Q_onAssert(char const * const module, int loc) {
178
177
179
178
</text >
180
179
</file >
181
- <file name =" blinky.h " >
182
- <text >#ifndef BLINKY_H
183
- #define BLINKY_H
180
+ <file name =" blinky.hpp " >
181
+ <text >#ifndef BLINKY_HPP
182
+ #define BLINKY_HPP
184
183
185
184
enum BlinkySignals {
186
185
TIMEOUT_SIG = QP::Q_USER_SIG,
@@ -191,13 +190,13 @@ enum BlinkySignals {
191
190
$declare${AOs::AO_Blinky}
192
191
//...
193
192
194
- #endif // BLINKY_H
193
+ #endif // BLINKY_HPP
195
194
</text >
196
195
</file >
197
196
<file name =" blinky_bsp.ino" >
198
- <text >#include " qpcpp.h " // QP-C++ framework
199
- #include " blinky.h " // Blinky application interface
200
- #include " bsp.h " // Board Support Package (BSP)
197
+ <text >#include " qpcpp.hpp " // QP-C++ framework
198
+ #include " blinky.hpp " // Blinky application interface
199
+ #include " bsp.hpp " // Board Support Package (BSP)
201
200
202
201
using namespace QP;
203
202
0 commit comments