diff --git a/py/mpconfig.h b/py/mpconfig.h index 93e98c25b6..9d0ad694e8 100644 --- a/py/mpconfig.h +++ b/py/mpconfig.h @@ -28,7 +28,7 @@ // You can override any of these options using mpconfigport.h file located // in a directory of your port. -#include +#include "mpconfigport.h" // Any options not explicitly set in mpconfigport.h will get default // values below. diff --git a/py/qstr.c b/py/qstr.c index a1ee7cafd0..7ccb34f1c3 100644 --- a/py/qstr.c +++ b/py/qstr.c @@ -77,7 +77,7 @@ typedef struct _qstr_pool_t { const byte *qstrs[]; } qstr_pool_t; -const static qstr_pool_t const_pool = { +STATIC const qstr_pool_t const_pool = { NULL, // no previous pool 0, // no previous pool 10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)