Skip to content

Commit

Permalink
Release v2.0.0-beta4
Browse files Browse the repository at this point in the history
  • Loading branch information
miloszlagan committed Aug 5, 2024
1 parent 2765adb commit efb683f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Husarnet ESP32
version=2.0.0-beta3
version=2.0.0-beta4
author=Husarnet
maintainer=Milosz Lagan, milosz.lagan@husarion.com
sentence=Connect your devices using secure P2P network layer for robots and IoT.
Expand Down
12 changes: 8 additions & 4 deletions src/husarnet.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#pragma once

#if defined(ARDUINO)
#if !defined(ARDUINO_ARCH_ESP32)
#error "This library only supports boards from the ESP32 family."
#elif ESP_ARDUINO_VERSION < ESP_ARDUINO_VERSION_VAL(3, 0, 3)
#error "This library requires ESP32 Arduino Core version 3.0.3 or newer. Please upgrade your board/platform."
#endif
#endif

// User-facing API is defined in the
// "husarnet/port/esp32/user_interface.h" header
// in the included Husarnet submodule.
#include "husarnet/ports/esp32/user_interface.h"

#if defined(ARDUINO) && !defined(ARDUINO_ARCH_ESP32)
#error "This library only supports boards from the ESP32 family."
#endif

0 comments on commit efb683f

Please sign in to comment.