Skip to content

Commit

Permalink
rename ping.h to ping32.h for platformio
Browse files Browse the repository at this point in the history
  • Loading branch information
dvarrel committed Sep 27, 2023
1 parent be9c2dc commit 4b30585
Show file tree
Hide file tree
Showing 4 changed files with 5 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=ESPping
version=1.0.2
version=1.0.3
author=dvarrel, Daniele Colanardi, Marian Craciunescu
maintainer=dvarrel
sentence=Let the ESP32/ESP8266 ping a remote machine.
Expand Down
2 changes: 1 addition & 1 deletion src/ESPping.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <Arduino.h>
#ifdef ESP32
#include <WiFi.h>
#include <ping.h>
#include <ping32.h>
extern "C" {
void esp_schedule(void);
void esp_yield(void);
Expand Down
2 changes: 1 addition & 1 deletion src/ping.cpp → src/ping32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
#include <string.h>
#include <errno.h>

#include "ping.h"
#include "ping32.h"

#include "lwip/inet_chksum.h"
#include "lwip/ip.h"
Expand Down
4 changes: 2 additions & 2 deletions src/ping.h → src/ping32.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifdef ESP32

#ifndef PING_H
#define PING_H
#ifndef PING32_H
#define PING32_H

#include <Arduino.h>

Expand Down

0 comments on commit 4b30585

Please sign in to comment.