@@ -67,9 +67,9 @@ This structure of the code is recommended for applications with only one active
6767 </attribute >
6868 </package >
6969 <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
7373
7474class BSP {
7575public:
@@ -79,14 +79,13 @@ public:
7979 static void ledOn(void);
8080};
8181
82- #endif // BSP_H
82+ #endif // BSP_HPP
8383</text >
8484 </file >
8585 <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)
9089
9190using namespace QP;
9291
@@ -178,9 +177,9 @@ extern "C" void Q_onAssert(char const * const module, int loc) {
178177
179178</text >
180179 </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
184183
185184enum BlinkySignals {
186185 TIMEOUT_SIG = QP::Q_USER_SIG,
@@ -191,13 +190,13 @@ enum BlinkySignals {
191190$declare${AOs::AO_Blinky}
192191//...
193192
194- #endif // BLINKY_H
193+ #endif // BLINKY_HPP
195194</text >
196195 </file >
197196 <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)
201200
202201using namespace QP;
203202
0 commit comments