Skip to content

Commit

Permalink
Merge pull request #212 from ligenxxxx/rename-target-aio
Browse files Browse the repository at this point in the history
Rename the target from aio to aio5
  • Loading branch information
ligenxxxx authored Aug 8, 2024
2 parents 29adc3b + 639e108 commit 41763e5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ extra_configs =
targets/hdzero_race_v3.ini
targets/hdzero_freestyle_v2.ini
targets/hdzero_eco.ini
targets/hdzero_aio.ini
targets/hdzero_aio5.ini

8 changes: 4 additions & 4 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// #define HDZERO_RACE_V3
// #define HDZERO_FREESTYLE_V2
// #define HDZERO_ECO
// #define HDZERO_AIO
// #define HDZERO_AIO5

/* define VTX ID start */
#if defined HDZERO_WHOOP
Expand All @@ -38,7 +38,7 @@
#define VTX_ID 0x5b
#elif defined HDZERO_ECO
#define VTX_ID 0x5c
#elif defined HDZERO_AIO
#elif defined HDZERO_AIO5
#define VTX_ID 0x5d
#else
#define VTX_ID 0x00
Expand All @@ -63,8 +63,8 @@
#define VTX_NAME "HDZ FREESTYLE V2"
#elif defined HDZERO_ECO
#define VTX_NAME "HDZ ECO"
#elif defined HDZERO_AIO
#define VTX_NAME "HDZ AIO"
#elif defined HDZERO_AIO5
#define VTX_NAME "HDZ AIO5"
#else
#define VTX_NAME " "
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ void TempDetect() {
#ifdef HDZERO_ECO
if (temp_new > 10)
temp_new -= 10;
#elif defined HDZERO_AIO
#elif defined HDZERO_AIO5
if (temp_new > 15)
temp_new -= 15;
#endif
Expand Down
4 changes: 2 additions & 2 deletions targets/hdzero_aio.ini → targets/hdzero_aio5.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[env:hdzero_aio]
[env:hdzero_aio5]
extends = DM5680
build_flags =
${DM5680.build_flags}
-DHDZERO_AIO
-DHDZERO_AIO5
-DUSE_TP9950
-DUSE_TEMPERATURE_SENSOR
-DUSE_USB_DET

0 comments on commit 41763e5

Please sign in to comment.