質問編集履歴

2

ソースコード修正

2016/03/07 10:30

投稿

G.S.
G.S.

スコア15

test CHANGED
File without changes
test CHANGED
@@ -152,10 +152,6 @@
152
152
 
153
153
  {
154
154
 
155
- T_MSGEX mbx_msgex;
156
-
157
-
158
-
159
155
  while(TRUE) //無限ループ
160
156
 
161
157
  {

1

文法修正

2016/03/07 10:30

投稿

G.S.
G.S.

スコア15

test CHANGED
File without changes
test CHANGED
@@ -110,17 +110,21 @@
110
110
 
111
111
  //送信メッセージポインタはメモリに保持される
112
112
 
113
- while(TRUE) //無限ループ
114
113
 
115
- {
116
114
 
117
115
  T_MSGEX mbx_msgex;
118
116
 
117
+
118
+
119
+ while(TRUE) //無限ループ
120
+
121
+ {
122
+
119
123
  /**** 中 略 *****/
120
124
 
121
- result = snd_msg(MBX1_NO,(T_MSG *)&mbx_msgex);
125
+ result = snd_msg(MBX1_NO,(T_MSG *)&mbx_msgex);
122
126
 
123
- }
127
+ }
124
128
 
125
129
  }
126
130
 
@@ -148,17 +152,19 @@
148
152
 
149
153
  {
150
154
 
151
- while(TRUE) //無限ループ
155
+ T_MSGEX mbx_msgex;
152
156
 
153
- {
154
157
 
158
+
155
- T_MSGEX mbx_msgex;
159
+ while(TRUE) //無限ループ
160
+
161
+ {
156
162
 
157
163
  /**** 中 略 *****/
158
164
 
159
- result = f_mbx1_send_test(); //メッセージ送信を別関数化
165
+ result = f_mbx1_send_test(); //メッセージ送信を別関数化
160
166
 
161
- }
167
+ }
162
168
 
163
169
  }
164
170