summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2023-04-13 12:04:50 +0200
committerChristoph Cullmann <cullmann@kde.org>2023-04-13 12:04:50 +0200
commit9b2b44d0ca4e4886a7b4af461268420a84c3c573 (patch)
tree9ff8bcea61c897de5c544d4df6c5ae9bbfb83c44
parentf6735a8d5865e193cd6383a1697626359f590039 (diff)
fix most obvious warnings
-rw-r--r--totem/config.h4
-rw-r--r--totem/info.json2
-rw-r--r--totem/totem.h4
3 files changed, 4 insertions, 6 deletions
diff --git a/totem/config.h b/totem/config.h
index b7e23ec..3f07349 100644
--- a/totem/config.h
+++ b/totem/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
/* USB Device descriptor parameter */
/*#define VENDOR_ID 0x3A3C
#define PRODUCT_ID 0x0002
@@ -57,4 +55,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET
-#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U \ No newline at end of file
+#define RP2040_BOOTLOADER_DOUBLE_TAP_RESET_TIMEOUT 500U
diff --git a/totem/info.json b/totem/info.json
index ad3a388..131e29c 100644
--- a/totem/info.json
+++ b/totem/info.json
@@ -8,7 +8,7 @@
"device_version": "0.3.0"
},
"layouts": {
- "LAYOUT_totem": {
+ "LAYOUT_split_3x5_3_1": {
"layout": [
{"x": 0.776, "y": 1.519, "w": 1.059, "r": -10},
{"x": 1.964, "y": 0.605, "w": 1.059, "r": -4},
diff --git a/totem/totem.h b/totem/totem.h
index 01c37f0..846e6e0 100644
--- a/totem/totem.h
+++ b/totem/totem.h
@@ -35,7 +35,7 @@
// |SW16|SW11|SW12|SW13|SW14|SW15| |SW15|SW14|SW13|SW12|SW11|SW16|
// |SW17|SW18|SW19| |SW19|SW18|SW17|
-#define LAYOUT_totem( \
+#define LAYOUT_split_3x5_3_1( \
L00, L01, L02, L03, L04, R00, R01, R02, R03, R04, \
L10, L11, L12, L13, L14, R10, R11, R12, R13, R14, \
L30, L20, L21, L22, L23, L24, R20, R21, R22, R23, R24, R34,\
@@ -53,4 +53,4 @@
}
-#define LAYOUT LAYOUT_totem \ No newline at end of file
+#define LAYOUT LAYOUT_split_3x5_3_1