summaryrefslogtreecommitdiff
path: root/ports/esp32/esp32_ulp.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-04-26 15:02:59 +1000
committerDamien George <damien.p.george@gmail.com>2018-05-01 15:53:25 +1000
commit96740be3574d91279ca883adbb19b976413ef52b (patch)
treefc1bb54d4525d1a1860190a476bfc5b4c1df7e09 /ports/esp32/esp32_ulp.c
parent9f1eafc38092213bf59cd5dfdd803249077729c3 (diff)
py/mperrno: Define MP_EWOULDBLOCK as EWOULDBLOCK, not EAGAIN.
Most modern systems have EWOULDBLOCK aliased to EAGAIN, ie they have the same value. But some systems use different values for these errnos and if a uPy port is using the system errno values (ie not the internal uPy values) then it's important to be able to distinguish EWOULDBLOCK from EAGAIN. Eg if a system call returned EWOULDBLOCK it must be possible to check for this return value, and this patch makes this now possible.
Diffstat (limited to 'ports/esp32/esp32_ulp.c')
0 files changed, 0 insertions, 0 deletions