py: Fix static defn in qstr; include mpconfigport.h with "" (not <>).

This commit is contained in:
Damien George 2014-06-11 19:18:03 +01:00
parent 0c0f446840
commit 73c98d8709
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
// You can override any of these options using mpconfigport.h file located // You can override any of these options using mpconfigport.h file located
// in a directory of your port. // in a directory of your port.
#include <mpconfigport.h> #include "mpconfigport.h"
// Any options not explicitly set in mpconfigport.h will get default // Any options not explicitly set in mpconfigport.h will get default
// values below. // values below.

View File

@ -77,7 +77,7 @@ typedef struct _qstr_pool_t {
const byte *qstrs[]; const byte *qstrs[];
} qstr_pool_t; } qstr_pool_t;
const static qstr_pool_t const_pool = { STATIC const qstr_pool_t const_pool = {
NULL, // no previous pool NULL, // no previous pool
0, // 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) 10, // set so that the first dynamically allocated pool is twice this size; must be <= the len (just below)