• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shared_fooの不要ディレクトリ削除前のもの


Commit MetaInfo

修訂aaf9b19cd2fbef43a6d67e5029a432fb5f94cfc6 (tree)
時間2018-02-18 17:10:46
作者takemasa <suikan@user...>
Commitertakemasa

Log Message

Changed comment.

Change Summary

差異

--- a/stm32_development/murasaki/NUCLEO-F746ZG.xml
+++ b/stm32_development/murasaki/NUCLEO-F746ZG.xml
@@ -12,8 +12,8 @@
1212 <targetDefinitions>
1313 <board id="nucleo-f746zg">
1414 <name>NUCLEO-F746ZG</name>
15- <dbgIF>JTAG</dbgIF>
1615 <dbgIF>SWD</dbgIF>
16+ <dbgIF>JTAG</dbgIF>
1717 <dbgDEV>ST-Link</dbgDEV>
1818 <mcuId>stm32f746zgtx</mcuId>
1919 </board>
--- a/stm32_development/murasaki/murasaki/debug.cpp
+++ b/stm32_development/murasaki/murasaki/debug.cpp
@@ -70,6 +70,8 @@ void Debug::printf(const char * fmt, ...)
7070 // obtain variable parameter list
7171 va_list argp;
7272
73+ MURASAKI_ASSERT(NULL != fmt); // NULL check. Perhaps, overkill.
74+
7375 ::portDISABLE_INTERRUPTS(); // ARM dependent API. OK to use in task and ISR.
7476 {
7577 #if 0
@@ -229,7 +231,7 @@ void Debug::TxTask()
229231 uint16_t snap_tail = tail_;
230232 ::taskEXIT_CRITICAL();
231233
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.
233235 if (snap_head > snap_tail) { // not wrapped around
234236 // transmit entire data. return with error after waiting for 1sec.
235237 logger_->putMessage(