Skip to content

Commit

Permalink
Version check
Browse files Browse the repository at this point in the history
  • Loading branch information
kaiaai committed Nov 24, 2023
1 parent 272a736 commit e834881
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=micro_ros_kaia
version=2.0.7-iron.2
version=2.0.7-iron.3
author=micro-ROS, Kaia.ai
maintainer=Ilia O. <iliao@kaia.ai>
sentence=micro-ROS Arduino library with additional Kaia.ai message types
Expand Down
11 changes: 11 additions & 0 deletions src/micro_ros_kaia.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
#ifndef MICRO_ROS_KAIA
#define MICRO_ROS_KAIA

#define MICRO_ROS_KAIA_DISTRO iron
#define MICRO_ROS_KAIA_VERSION_MAJOR 2
#define MICRO_ROS_KAIA_VERSION_MINOR 0
#define MICRO_ROS_KAIA_VERSION_PATCH 7
#define MICRO_ROS_KAIA_VERSION_BUILD 3
#define IS_MICRO_ROS_KAIA_MIN_VERSION(major,minor,patch,build) ( \
(MICRO_ROS_KAIA_VERSION_MAJOR >= major) && \
(MICRO_ROS_KAIA_VERSION_MINOR >= minor) && \
(MICRO_ROS_KAIA_VERSION_PATCH >= patch) && \
(MICRO_ROS_KAIA_VERSION_BUILD >= build))

#include <micro_ros_arduino.h>

#endif

0 comments on commit e834881

Please sign in to comment.