1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-22 21:23:07 +03:00

Rename to CallSDKFunctions and correct spelling

This commit is contained in:
probonopd 2015-07-20 13:04:55 +02:00
parent ca1bbf2e9a
commit fab4b86147

View File

@ -1,7 +1,7 @@
/* /*
* NativeSdk by Simon Peter * NativeSdk by Simon Peter
* Access functionality from the ESP8266 SDK * Access functionality from the Espressif ESP8266 SDK
* This example code is in the public domain * This example code is in the public domain
* *
* This is for advanced users. * This is for advanced users.
@ -10,7 +10,7 @@
* where possible instead, in order to abstract away the hardware dependency. * where possible instead, in order to abstract away the hardware dependency.
*/ */
// Expose Expressif SDK functionality - wrapped in ifdef so that it still // Expose Espressif SDK functionality - wrapped in ifdef so that it still
// compiles on other platforms // compiles on other platforms
#ifdef ESP8266 #ifdef ESP8266
extern "C" { extern "C" {
@ -23,7 +23,7 @@ void setup() {
} }
void loop() { void loop() {
// Call Expressif SDK functionality - wrapped in ifdef so that it still // Call Espressif SDK functionality - wrapped in ifdef so that it still
// compiles on other platforms // compiles on other platforms
#ifdef ESP8266 #ifdef ESP8266
Serial.print("wifi_station_get_hostname: "); Serial.print("wifi_station_get_hostname: ");