Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: FreeMASTER_HelloWorld FreeMASTER_HelloWorld2 FreeMASTER_HelloWorld3
Fork of freemaster_lib by
Diff: freemaster_tsa.h
- Revision:
- 11:d1de61dc3766
- Parent:
- 10:ee28cf2ae687
- Child:
- 15:24a63ac82fc3
--- a/freemaster_tsa.h Wed Jun 04 14:48:34 2014 +0000
+++ b/freemaster_tsa.h Wed Jun 04 17:06:21 2014 +0000
@@ -185,7 +185,7 @@
const FMSTR_TSA_ENTRY* FMSTR_TsaGetTable(FMSTR_TSA_TINDEX nTableIndex, FMSTR_TSA_TSIZE* pTableSize) {
#define FMSTR_TSA_TABLE(id) \
- if(!nTableIndex--) { \
+ if(!(nTableIndex--)) { \
FMSTR_TSA_FUNC_PROTO(id); \
return FMSTR_TSA_FUNC(id)(pTableSize); \
} else
@@ -193,7 +193,7 @@
#if (FMSTR_USE_TSA_DYNAMIC)
#define FMSTR_TSA_TABLE_LIST_END() \
- if(!nTableIndex--) { \
+ if(!(nTableIndex--)) { \
FMSTR_TSA_FUNC_PROTO(dynamic_tsa); \
return FMSTR_TSA_FUNC(dynamic_tsa)(pTableSize); \
} else \
