Skip to content

Commit

Permalink
Fix empy (#13)
Browse files Browse the repository at this point in the history
* Fix empy

* Fix timer

(cherry picked from commit f83776e)
  • Loading branch information
pablogs9 authored and mergify[bot] committed Jan 12, 2024
1 parent d205857 commit 671fed6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
apt update
export DEBIAN_FRONTEND=noninteractive
apt install -y --no-install-recommends git build-essential gcc-arm-none-eabi python3-pip cmake ninja-build libnewlib-arm-none-eabi libstdc++-arm-none-eabi-newlib g++-multilib gcc-multilib binutils-arm-none-eabi
pip3 install catkin_pkg lark-parser empy colcon-common-extensions
pip3 install catkin_pkg lark-parser colcon-common-extensions
- uses: actions/checkout@v2
with:
path: repo
Expand Down
5 changes: 3 additions & 2 deletions app/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,12 @@ void microros_thread(ULONG parameter)

// create timer,
rcl_timer_t timer;
rclc_timer_init_default(
rclc_timer_init_default2(
&timer,
&support,
RCL_MS_TO_NS(1000),
timer_callback);
timer_callback,
true);

// create executor
rclc_executor_t executor = rclc_executor_get_zero_initialized_executor();
Expand Down

0 comments on commit 671fed6

Please sign in to comment.