Skip to content

Commit e834881

Browse files
committed
Version check
1 parent 272a736 commit e834881

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=micro_ros_kaia
2-
version=2.0.7-iron.2
2+
version=2.0.7-iron.3
33
author=micro-ROS, Kaia.ai
44
maintainer=Ilia O. <iliao@kaia.ai>
55
sentence=micro-ROS Arduino library with additional Kaia.ai message types

src/micro_ros_kaia.h

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
#ifndef MICRO_ROS_KAIA
22
#define MICRO_ROS_KAIA
33

4+
#define MICRO_ROS_KAIA_DISTRO iron
5+
#define MICRO_ROS_KAIA_VERSION_MAJOR 2
6+
#define MICRO_ROS_KAIA_VERSION_MINOR 0
7+
#define MICRO_ROS_KAIA_VERSION_PATCH 7
8+
#define MICRO_ROS_KAIA_VERSION_BUILD 3
9+
#define IS_MICRO_ROS_KAIA_MIN_VERSION(major,minor,patch,build) ( \
10+
(MICRO_ROS_KAIA_VERSION_MAJOR >= major) && \
11+
(MICRO_ROS_KAIA_VERSION_MINOR >= minor) && \
12+
(MICRO_ROS_KAIA_VERSION_PATCH >= patch) && \
13+
(MICRO_ROS_KAIA_VERSION_BUILD >= build))
14+
415
#include <micro_ros_arduino.h>
516

617
#endif

0 commit comments

Comments
 (0)