shared_fooの不要ディレクトリ削除前のもの
修訂 | aaf9b19cd2fbef43a6d67e5029a432fb5f94cfc6 (tree) |
---|---|
時間 | 2018-02-18 17:10:46 |
作者 | takemasa <suikan@user...> |
Commiter | takemasa |
Changed comment.
@@ -12,8 +12,8 @@ | ||
12 | 12 | <targetDefinitions> |
13 | 13 | <board id="nucleo-f746zg"> |
14 | 14 | <name>NUCLEO-F746ZG</name> |
15 | - <dbgIF>JTAG</dbgIF> | |
16 | 15 | <dbgIF>SWD</dbgIF> |
16 | + <dbgIF>JTAG</dbgIF> | |
17 | 17 | <dbgDEV>ST-Link</dbgDEV> |
18 | 18 | <mcuId>stm32f746zgtx</mcuId> |
19 | 19 | </board> |
@@ -70,6 +70,8 @@ void Debug::printf(const char * fmt, ...) | ||
70 | 70 | // obtain variable parameter list |
71 | 71 | va_list argp; |
72 | 72 | |
73 | + MURASAKI_ASSERT(NULL != fmt); // NULL check. Perhaps, overkill. | |
74 | + | |
73 | 75 | ::portDISABLE_INTERRUPTS(); // ARM dependent API. OK to use in task and ISR. |
74 | 76 | { |
75 | 77 | #if 0 |
@@ -229,7 +231,7 @@ void Debug::TxTask() | ||
229 | 231 | uint16_t snap_tail = tail_; |
230 | 232 | ::taskEXIT_CRITICAL(); |
231 | 233 | |
232 | - // check is data area is wrapped araound at the end of buffer. Note : Data is added to the head. | |
234 | + // check whether the data area is wrapped araound at the end of buffer. Note : Data is added to the head. | |
233 | 235 | if (snap_head > snap_tail) { // not wrapped around |
234 | 236 | // transmit entire data. return with error after waiting for 1sec. |
235 | 237 | logger_->putMessage( |