Skip to content

Commit 31dc302

Browse files
authored
Merge pull request #10 from BCsabaEngine/feat/includes
feat: header includes
2 parents c57e04e + 97a8f01 commit 31dc302

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/cppCode.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ const psychicTemplate = `
1818
//files: {{fileCount}}
1919
//memory: {{fileSize}}
2020
21+
#include <Arduino.h>
22+
#include <PsychicHttp.h>
23+
#include <PsychicHttpsServer.h>
24+
2125
{{#each sources}}
2226
const uint8_t data{{this.index}}[{{this.length}}] = { {{this.bytes}} };
2327
{{#if ../isEtag}}
@@ -58,6 +62,9 @@ const asyncTemplate = `
5862
//files: {{fileCount}}
5963
//memory: {{fileSize}}
6064
65+
#include <Arduino.h>
66+
#include <ESPAsyncWebServer.h>
67+
6168
{{#each sources}}
6269
const uint8_t data{{this.index}}[{{this.length}}] PROGMEM = { {{this.bytes}} };
6370
{{#if ../isEtag}}

0 commit comments

Comments
 (0)