mirror of
https://github.com/espruino/Espruino.git
synced 2025-12-08 19:06:15 +00:00
parent
e11ebcfc1c
commit
516ef3cef7
@ -851,8 +851,6 @@ static void scanCB(void *arg, STATUS status) {
|
||||
struct bss_info *bssInfo;
|
||||
|
||||
bssInfo = (struct bss_info *)arg;
|
||||
// skip the first in the chain … it is invalid
|
||||
//bssInfo = STAILQ_NEXT(bssInfo, next); // this got fixed in SDK 1.4
|
||||
while(bssInfo != NULL) {
|
||||
// Add a new object to the JS array that will be passed as a parameter to
|
||||
// the callback. The ESP8266 bssInfo structure contains the following:
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
* SOCKET_CREATED_INBOUND - The socket was created by an in-bound.
|
||||
*/
|
||||
// ESP8266 specific includes
|
||||
#define ESPSDK_1_3_0
|
||||
#undef ESPSDK_1_3_0
|
||||
#include <c_types.h>
|
||||
#include <user_interface.h>
|
||||
#include <mem.h>
|
||||
|
||||
@ -490,6 +490,8 @@ void jshUSARTKick(
|
||||
}
|
||||
|
||||
|
||||
//===== SPI =====
|
||||
|
||||
/**
|
||||
* \brief Unknown
|
||||
*
|
||||
@ -501,11 +503,6 @@ void jshSPISetup(
|
||||
os_printf("ESP8266: jshSPISetup: device=%d, inf=0x%x\n", device, (int)inf);
|
||||
}
|
||||
|
||||
//===== SPI =====
|
||||
|
||||
void jshSPISetup(IOEventFlags device, JshSPIInfo *inf) {
|
||||
} // End of jshSPISetup
|
||||
|
||||
/** Send data through the given SPI device (if data>=0), and return the result
|
||||
* of the previous send (or -1). If data<0, no data is sent and the function
|
||||
* waits for data to be returned */
|
||||
|
||||
@ -1,4 +1,3 @@
|
||||
<<<<<<< HEAD
|
||||
/*
|
||||
* This file is part of Espruino/ESP8266, a JavaScript interpreter for ESP8266
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user