Skip to content

Commit 2b6f2c5

Browse files
committed
2jciebu01: fix base class and build dependencies
Signed-off-by: Mihai Tudor Panu <[email protected]>
1 parent 2a948ca commit 2b6f2c5

15 files changed

+20
-23
lines changed

src/2jciebu01-ble/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.

src/2jciebu01-usb/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifdef SWIGPYTHON
2-
%module (package="upm") 2jciebu01_ble
2+
%module (package="upm") om2jciebu01_ble
33
#endif
44

55
%include "../common_top.i"
@@ -10,13 +10,12 @@ JAVA_JNI_LOADLIBRARY(javaupm_2jciebu01_ble)
1010
#endif
1111
/* END Java syntax */
1212

13+
%import "2jciebu01.hpp"
14+
1315
/* BEGIN Common SWIG syntax ------------------------------------------------- */
1416
%{
1517
#include "2jciebu01_ble.hpp"
16-
#include "2jciebu01.hpp"
1718
%}
1819

1920
%include "2jciebu01_ble.hpp"
20-
%include "2jciebu01.hpp"
21-
2221
/* END Common SWIG syntax */
File renamed without changes.

src/2jciebu01_ble/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
if (TINYB_FOUND)
2+
set (libname "2jciebu01_ble")
3+
set (libdescription "Omron BLE Environment Sensor")
4+
set (module_src "${libname}.cxx")
5+
set (module_hpp "${libname}.hpp")
6+
7+
upm_module_init(tinyb 2jciebu01_usb)
8+
endif()
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)