Skip to content

Commit b4bc233

Browse files
committed
Move UniqueId code into sub-folder uniqueid.
1 parent bbf5037 commit b4bc233

File tree

2 files changed

+37
-20
lines changed

2 files changed

+37
-20
lines changed

src/107-Arduino-Cyphal-Support.h

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,6 @@
1212
* INCLUDE
1313
**************************************************************************************/
1414

15-
#include <107-Arduino-UniqueId.h>
16-
17-
/**************************************************************************************
18-
* NAMESPACE
19-
**************************************************************************************/
20-
21-
namespace cyphal::support
22-
{
23-
24-
/**************************************************************************************
25-
* CLASS DECLARATION
26-
**************************************************************************************/
27-
28-
class UniqueId : public impl::UniqueId16 { };
29-
30-
/**************************************************************************************
31-
* NAMESPACE
32-
**************************************************************************************/
33-
34-
} /* cyphal::support */
15+
#include "uniqueid/uniqueid.h"
3516

3617
#endif /* INC_107_ARDUINO_CYPHAL_SUPPORT_H_ */

src/uniqueid/uniqueid.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/**
2+
* This software is distributed under the terms of the MIT License.
3+
* Copyright (c) 2023 LXRobotics.
4+
* Author: Alexander Entinger <[email protected]>
5+
* Contributors: https://github.com/107-systems/107-Arduino-Cyphal-Support/graphs/contributors.
6+
*/
7+
8+
#ifndef INC_107_ARDUINO_CYPHAL_SUPPORT_UNIQUEID_H
9+
#define INC_107_ARDUINO_CYPHAL_SUPPORT_UNIQUEID_H
10+
11+
/**************************************************************************************
12+
* INCLUDE
13+
**************************************************************************************/
14+
15+
#include <107-Arduino-UniqueId.h>
16+
17+
/**************************************************************************************
18+
* NAMESPACE
19+
**************************************************************************************/
20+
21+
namespace cyphal::support
22+
{
23+
24+
/**************************************************************************************
25+
* CLASS DECLARATION
26+
**************************************************************************************/
27+
28+
class UniqueId : public impl::UniqueId16 { };
29+
30+
/**************************************************************************************
31+
* NAMESPACE
32+
**************************************************************************************/
33+
34+
} /* cyphal::support */
35+
36+
#endif /* INC_107_ARDUINO_CYPHAL_SUPPORT_UNIQUEID_H */

0 commit comments

Comments
 (0)