diff options
| author | guochuangjian <[email protected]> | 2018-08-05 15:08:50 +0800 |
|---|---|---|
| committer | guochuangjian <[email protected]> | 2018-08-05 15:08:50 +0800 |
| commit | 3de51fe25688f0b6c7cb9f9d424861654fb09e49 (patch) | |
| tree | dcf4a170b00deace7860187e3ff9c2e6495e0923 /tools/codeblocks.py | |
| parent | 650f06aa1943d439ac049f6bc276b216999e6a56 (diff) | |
| parent | 03bf99a56de255d41655bc8486d50cadbcae22f0 (diff) | |
fix usRcvBufferPos == MB_SER_PDU_SIZE_MAX bug
Diffstat (limited to 'tools/codeblocks.py')
| -rw-r--r-- | tools/codeblocks.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/codeblocks.py b/tools/codeblocks.py index 7db82b49e9..c45a5dca91 100644 --- a/tools/codeblocks.py +++ b/tools/codeblocks.py @@ -108,7 +108,8 @@ def CBProject(target, script, program): for macro in building.Env.get('CPPDEFINES', []): Add = SubElement(elem, 'Add') - Add.set('option', "-D"+macro) + for d in macro: + Add.set('option', "-D"+d) # write link flags ''' |
