aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/reports/MSP430F1611-0.75.txt4
-rw-r--r--readme.txt3
-rw-r--r--src/include/debug.h3
3 files changed, 4 insertions, 6 deletions
diff --git a/docs/reports/MSP430F1611-0.75.txt b/docs/reports/MSP430F1611-0.75.txt
index 88ce0dde1..2bd16df83 100644
--- a/docs/reports/MSP430F1611-0.75.txt
+++ b/docs/reports/MSP430F1611-0.75.txt
@@ -71,9 +71,5 @@ Settings: MCLK=DCOCLK 750Khz
--- Score : 5432 bytes/S
--- Result: SUCCESS
---------------------------------------------------------------------------
---- Test Case 20 (Benchmark, virtual timers set/reset)
---- Score : 5636 timers/S
---- Result: SUCCESS
----------------------------------------------------------------------------
Final result: SUCCESS
diff --git a/readme.txt b/readme.txt
index b2508d42c..a3375fbb5 100644
--- a/readme.txt
+++ b/readme.txt
@@ -74,6 +74,9 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process,
*****************************************************************************
*** 0.7.4 ***
+- CHANGE: Modified chDbgAssert() to syntax check the condition even when the
+ CH_USE_DEBUG is disabled, it produces no code but allows to check the
+ option without have to compile twice.
- Added a new benchmark to the test suite (timers set/reset performance).
- Renamed the macro fifo_init() to queue_init() because it is used to init
both FIFO queues and priority queues.
diff --git a/src/include/debug.h b/src/include/debug.h
index 245e4dced..783709062 100644
--- a/src/include/debug.h
+++ b/src/include/debug.h
@@ -57,7 +57,6 @@ extern char *dbglastmsg;
extern "C" {
#endif
void chDbgInit(void);
- void chDbgPuts(char *msg);
void chDbgPanic(char *msg);
#ifdef __cplusplus
}
@@ -80,7 +79,7 @@ extern "C" {
#define chDbgInit()
#define chDbgPanic(msg) {}
-#define chDbgAssert(c, m) {}
+#define chDbgAssert(c, m) {(void)(c);}
#endif /* CH_USE_DEBUG */