aboutsummaryrefslogtreecommitdiff
path: root/hw/hank/emisar-d4
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-02 18:51:38 -0600
committerSelene ToyKeeper2023-11-02 18:51:38 -0600
commit2dcd56ce3d00fc7414652e6f866bf8eefd42dba9 (patch)
treee2d5e5159ad5ce379479f49011131880d7e49b7e /hw/hank/emisar-d4
parentreorganized project files (part 1) (diff)
downloadanduril-2dcd56ce3d00fc7414652e6f866bf8eefd42dba9.tar.gz
anduril-2dcd56ce3d00fc7414652e6f866bf8eefd42dba9.tar.bz2
anduril-2dcd56ce3d00fc7414652e6f866bf8eefd42dba9.zip
got things to compile again, renamed #includes
(also modified the build scripts to work with the new file structure)
Diffstat (limited to 'hw/hank/emisar-d4')
-rw-r--r--hw/hank/emisar-d4/cfg.h4
-rw-r--r--hw/hank/emisar-d4/hwdef.c2
-rw-r--r--hw/hank/emisar-d4/hwdef.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/hw/hank/emisar-d4/cfg.h b/hw/hank/emisar-d4/cfg.h
index 4b3ae5a..b3fe836 100644
--- a/hw/hank/emisar-d4/cfg.h
+++ b/hw/hank/emisar-d4/cfg.h
@@ -4,8 +4,8 @@
#pragma once
#define MODEL_NUMBER "0111"
-#include "hwdef-emisar-d4.h"
-#include "hank-cfg.h"
+#include "hank/emisar-d4/hwdef.h"
+#include "hank/cfg.h"
// ATTINY: 85
#define RAMP_SIZE 150
diff --git a/hw/hank/emisar-d4/hwdef.c b/hw/hank/emisar-d4/hwdef.c
index 972f682..286f95a 100644
--- a/hw/hank/emisar-d4/hwdef.c
+++ b/hw/hank/emisar-d4/hwdef.c
@@ -6,7 +6,7 @@
//#ifdef AUXLED_PIN
#if 0
-#include "chan-aux.c"
+#include "fsm/chan-aux.c"
#else
#define AUX_CHANNELS
#endif
diff --git a/hw/hank/emisar-d4/hwdef.h b/hw/hank/emisar-d4/hwdef.h
index 7be700a..ffdcbfd 100644
--- a/hw/hank/emisar-d4/hwdef.h
+++ b/hw/hank/emisar-d4/hwdef.h
@@ -15,12 +15,12 @@
#define ATTINY 85
#include <avr/io.h>
-#define HWDEF_C_FILE hwdef-emisar-d4.c
+#define HWDEF_C_FILE hank/emisar-d4/hwdef.c
// allow using aux LEDs as extra channel modes (when they exist)
//#ifdef AUXLED_PIN
#if 0
-#include "chan-aux.h"
+#include "fsm/chan-aux.h"
#else
#define NUM_AUX_CHANNEL_MODES 0
#endif