File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 55#include < string>
66#include < variant>
77#include " hal.h"
8- #include " hal_priv.h"
98
109enum class hal_dir {
1110 IN = HAL_IN,
1211 OUT = HAL_OUT,
1312};
1413
14+ #if 0
15+ // If this class is ever necessary, then it needs to be moved into a new
16+ // header 'hal_priv.hh' because it uses internal access methods from
17+ // 'hal_priv.h' that should not be available to the casual source file.
18+
19+ #include "hal_priv.h"
20+
1521class hal{
1622 public:
1723 static bool component_exists(const std::string& name){
@@ -34,6 +40,7 @@ class hal{
3440 return thecomp && (thecomp->ready != 0);
3541 }
3642};
43+ #endif
3744
3845template <typename T>
3946class hal_pin {
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ FILE *halcmd_inifile = NULL;
6666
6767#include <rtapi.h> /* RTAPI realtime OS API */
6868#include <hal.h> /* HAL public API decls */
69- #include "../hal_priv.h" /* private HAL decls */
7069#include "halcmd_commands.h"
7170
7271/***********************************************************************
You can’t perform that action at this time.
0 commit comments