From 81164c1663fbf155233475dfd23b324ccd53b46e Mon Sep 17 00:00:00 2001
From: James Young <18669334+noroadsleft@users.noreply.github.com>
Date: Sat, 28 Nov 2020 16:59:25 -0800
Subject: [PATCH] Cozykeys Speedo Configurator fix (#11058)
* Cozykeys Speedo Configurator fix
Outgoing codebase worked when compiled locally, but not from QMK Configurator because its API requires an exact directory structure.
* fix make commands in the readme
---
keyboards/cozykeys/speedo/readme.md | 6 ++++--
keyboards/cozykeys/speedo/speedo.h | 4 ++--
keyboards/cozykeys/speedo/v2/{speedo_v2.c => v2.c} | 2 +-
keyboards/cozykeys/speedo/v2/{speedo_v2.h => v2.h} | 0
keyboards/cozykeys/speedo/v3/{speedo_v3.c => v3.c} | 2 +-
keyboards/cozykeys/speedo/v3/{speedo_v3.h => v3.h} | 0
6 files changed, 8 insertions(+), 6 deletions(-)
rename keyboards/cozykeys/speedo/v2/{speedo_v2.c => v2.c} (96%)
rename keyboards/cozykeys/speedo/v2/{speedo_v2.h => v2.h} (100%)
rename keyboards/cozykeys/speedo/v3/{speedo_v3.c => v3.c} (96%)
rename keyboards/cozykeys/speedo/v3/{speedo_v3.h => v3.h} (100%)
diff --git a/keyboards/cozykeys/speedo/readme.md b/keyboards/cozykeys/speedo/readme.md
index 4a26c1a00..e2193363b 100644
--- a/keyboards/cozykeys/speedo/readme.md
+++ b/keyboards/cozykeys/speedo/readme.md
@@ -8,11 +8,13 @@
Make example for this keyboard (after setting up your build environment):
- make speedo:default
+ make cozykeys/speedo/v2:default # for Speedo v2
+ make cozykeys/speedo/v3:default # for Speedo v3
Flashing example for this keyboard:
- make speedo:default:flash
+ make cozykeys/speedo/v2:default:flash # for Speedo v2
+ make cozykeys/speedo/v3:default:flash # for Speedo v3
See the
[build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and
diff --git a/keyboards/cozykeys/speedo/speedo.h b/keyboards/cozykeys/speedo/speedo.h
index 3b3c89d93..2a2adff42 100644
--- a/keyboards/cozykeys/speedo/speedo.h
+++ b/keyboards/cozykeys/speedo/speedo.h
@@ -17,7 +17,7 @@ along with this program. If not, see .
#pragma once
#ifdef KEYBOARD_cozykeys_speedo_v2
- #include "speedo_v2.h"
+ #include "v2.h"
#elif KEYBOARD_cozykeys_speedo_v3
- #include "speedo_v3.h"
+ #include "v3.h"
#endif
diff --git a/keyboards/cozykeys/speedo/v2/speedo_v2.c b/keyboards/cozykeys/speedo/v2/v2.c
similarity index 96%
rename from keyboards/cozykeys/speedo/v2/speedo_v2.c
rename to keyboards/cozykeys/speedo/v2/v2.c
index 8b5c7ff69..1cab75214 100644
--- a/keyboards/cozykeys/speedo/v2/speedo_v2.c
+++ b/keyboards/cozykeys/speedo/v2/v2.c
@@ -14,4 +14,4 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-#include "speedo_v2.h"
+#include "v2.h"
diff --git a/keyboards/cozykeys/speedo/v2/speedo_v2.h b/keyboards/cozykeys/speedo/v2/v2.h
similarity index 100%
rename from keyboards/cozykeys/speedo/v2/speedo_v2.h
rename to keyboards/cozykeys/speedo/v2/v2.h
diff --git a/keyboards/cozykeys/speedo/v3/speedo_v3.c b/keyboards/cozykeys/speedo/v3/v3.c
similarity index 96%
rename from keyboards/cozykeys/speedo/v3/speedo_v3.c
rename to keyboards/cozykeys/speedo/v3/v3.c
index 759052c27..f35be99e2 100644
--- a/keyboards/cozykeys/speedo/v3/speedo_v3.c
+++ b/keyboards/cozykeys/speedo/v3/v3.c
@@ -14,4 +14,4 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
*/
-#include "speedo_v3.h"
+#include "v3.h"
diff --git a/keyboards/cozykeys/speedo/v3/speedo_v3.h b/keyboards/cozykeys/speedo/v3/v3.h
similarity index 100%
rename from keyboards/cozykeys/speedo/v3/speedo_v3.h
rename to keyboards/cozykeys/speedo/v3/v3.h