Skip to content

Commit

Permalink
tools: fix auto-generated file header comment
Browse files Browse the repository at this point in the history
  • Loading branch information
and3rson committed Feb 8, 2024
1 parent f8cb271 commit 0fa611a
Show file tree
Hide file tree
Showing 9 changed files with 6 additions and 108 deletions.
2 changes: 1 addition & 1 deletion firmware-demo/src/letris_splash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated automatically. Do not edit.
// This is a generated file, do not edit.
// clang-format off
#include <stdint.h>
const uint16_t letris_splash_width = 240;
Expand Down
22 changes: 0 additions & 22 deletions firmware-test/Makefile

This file was deleted.

14 changes: 0 additions & 14 deletions firmware-test/platformio.ini

This file was deleted.

66 changes: 0 additions & 66 deletions firmware-test/src/main.cpp

This file was deleted.

2 changes: 1 addition & 1 deletion lib/lilka/src/lilka/icons/file.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated automatically. Do not edit.
// This is a generated file, do not edit.
// clang-format off
#include <stdint.h>
const uint16_t file_width = 24;
Expand Down
2 changes: 1 addition & 1 deletion lib/lilka/src/lilka/icons/folder.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated automatically. Do not edit.
// This is a generated file, do not edit.
// clang-format off
#include <stdint.h>
const uint16_t folder_width = 24;
Expand Down
2 changes: 1 addition & 1 deletion lib/lilka/src/lilka/icons/nes.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated automatically. Do not edit.
// This is a generated file, do not edit.
// clang-format off
#include <stdint.h>
const uint16_t nes_width = 24;
Expand Down
2 changes: 1 addition & 1 deletion lib/lilka/src/lilka/splash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated automatically. Do not edit.
// This is a generated file, do not edit.
// clang-format off
#include <stdint.h>
const uint16_t splash_width = 240;
Expand Down
2 changes: 1 addition & 1 deletion tools/image2code/image2code.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

with open(out, "w") as f:
print(f"Записуємо {len(pixels)} пікселів у {out}... ", end="")
print("// This file was generated automatically. Do not edit.", file=f)
print("// This is a generated file, do not edit.", file=f)
print("// clang-format off", file=f)
print(f"#include <stdint.h>", file=f)
print(f"const uint16_t {var_name}_width = {img.width};", file=f)
Expand Down

0 comments on commit 0fa611a

Please sign in to comment.