MicroPython core updated

commit: 59dda71 (Apr 10, 2018)
  fullSHA: 59dda7103855e2f85822f83ecbb835d66f12183d

'network' module update
  see Wiki for changes

'microWebServer' frozen module updated

Some fixes related 'ticks_*' functions returning 64-bit values
  better compatibiliy with 'uasyncio' module

Other minor changes and bugfixes
This commit is contained in:
Boris Lovosevic
2018-04-12 13:50:45 +02:00
parent 7df5b49a02
commit f6297a57db
61 changed files with 724 additions and 1988 deletions
@@ -32,6 +32,7 @@
#include "py/bc.h"
#include "py/objgenerator.h"
#include "py/objfun.h"
#include "py/stackctrl.h"
/******************************************************************************/
/* generator wrapper */
@@ -92,6 +93,7 @@ STATIC void gen_instance_print(const mp_print_t *print, mp_obj_t self_in, mp_pri
}
mp_vm_return_kind_t mp_obj_gen_resume(mp_obj_t self_in, mp_obj_t send_value, mp_obj_t throw_value, mp_obj_t *ret_val) {
MP_STACK_CHECK();
mp_check_self(MP_OBJ_IS_TYPE(self_in, &mp_type_gen_instance));
mp_obj_gen_instance_t *self = MP_OBJ_TO_PTR(self_in);
if (self->code_state.ip == 0) {