D'uh. Don't block interrupts on HTTP transfers!

This commit is contained in:
cnlohr 2015-08-03 01:27:36 -04:00
parent c4669ce825
commit 8e67b46173
2 changed files with 0 additions and 2 deletions

View file

@ -328,12 +328,10 @@ http_recvcb(void *arg, char *pusrdata, unsigned short length)
{ {
struct espconn *pespconn = (struct espconn *) arg; struct espconn *pespconn = (struct espconn *) arg;
ets_intr_lock();
curhttp = (struct HTTPConnection * )pespconn->reverse; curhttp = (struct HTTPConnection * )pespconn->reverse;
curdata = (uint8*)pusrdata; curdata = (uint8*)pusrdata;
curlen = length; curlen = length;
HTTPGotData(); HTTPGotData();
ets_intr_unlock();
} }
void ICACHE_FLASH_ATTR void ICACHE_FLASH_ATTR

Binary file not shown.