PaulStoffregen / RadioHead

Version of RadioHead library for Teensy boards
http://www.airspayce.com/mikem/arduino/RadioHead/
Other
257 stars 156 forks source link

htons redefined #50

Open CarloRoma63 opened 11 months ago

CarloRoma63 commented 11 months ago

Hi, On ESP8266 I've got many warning regarding ntohs and htons redefined. This name is in conflict with ESP8266WiFi Library. I've resolved renaming all ntoh and hton definitions to rh_ntoh and rh_hton in RadioHead.h lines1700-1720 It do not create new warning or error on compiling. Can you check if this mod can cause some other problems? I' was'nt able to find any occurrency about these names in whole library, so I supposed it is unused.