Skip to content

Commit e5c07c2

Browse files
author
Yuji Yamamoto
committed
Specify the generated files' name
1 parent 6753cd7 commit e5c07c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

preprocessed-site/posts/2019/hiw-copilot.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Copilotの言葉はこれを`Stream`と呼んでいます。
7777
👆の場合、`ctemp`という`Stream``18.0`を下回ったら`heaton`というイベントを発火し、`21.0`を超えたら`heatoff`というイベントを発火する、と定めているわけですね。
7878
そして`main`関数で実行している`reify spec >>= compile "heater"`という箇所で、`.h`ファイルと`.c`ファイルを書き込んでいます。
7979

80-
そして、生成されたヘッダーファイルがこう👇
80+
そして、生成されたヘッダーファイル`heater.h`がこう👇
8181

8282
```c:heater.h
8383
extern uint8_t temperature;
@@ -86,7 +86,7 @@ void heaton(float heaton_arg0);
8686
void step(void);
8787
```
8888
89-
で、肝心のCのコード本体がこちらです
89+
で、肝心のCのコード本体`heater.c`がこちらです
9090
9191
```c:heater.c
9292
#include <stdint.h>

0 commit comments

Comments
 (0)