Skip to content

Commit

Permalink
fix: remove Arduino.h from header files
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Sep 16, 2024
1 parent 7b8a151 commit 193aa52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 1 addition & 3 deletions include/zenoh-pico/system/platform/arduino/esp32.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,14 @@
#ifndef ZENOH_PICO_SYSTEM_ESP32_TYPES_H
#define ZENOH_PICO_SYSTEM_ESP32_TYPES_H

#include <Arduino.h>

#include "zenoh-pico/config.h"

#if Z_FEATURE_MULTI_THREAD == 1
#include <pthread.h>
#endif // Z_FEATURE_MULTI_THREAD == 1

#if Z_FEATURE_MULTI_THREAD == 1
typedef TaskHandle_t _z_task_t;
typedef void *_z_task_t;
typedef void *z_task_attr_t; // Not used in ESP32
typedef pthread_mutex_t _z_mutex_t;
typedef pthread_cond_t _z_condvar_t;
Expand Down
1 change: 1 addition & 0 deletions src/system/arduino/esp32/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// ZettaScale Zenoh Team, <[email protected]>
//

#include <Arduino.h>
#include <esp_heap_caps.h>
#include <stddef.h>
#include <sys/time.h>
Expand Down

0 comments on commit 193aa52

Please sign in to comment.