Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ extra_configs =
targets/hdzero_freestyle_v2.ini
targets/hdzero_eco.ini
targets/hdzero_aio5.ini
targets/hdzero_aio15.ini

5 changes: 5 additions & 0 deletions src/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
// #define HDZERO_FREESTYLE_V2
// #define HDZERO_ECO
// #define HDZERO_AIO5
// #define HDZERO_AIO15

/* define VTX ID start */
#if defined HDZERO_WHOOP
Expand All @@ -40,6 +41,8 @@
#define VTX_ID 0x5c
#elif defined HDZERO_AIO5
#define VTX_ID 0x5d
#elif defined HDZERO_AIO15
#define VTX_ID 0x5e
#else
#define VTX_ID 0x00
#endif
Expand All @@ -65,6 +68,8 @@
#define VTX_NAME "HDZ ECO"
#elif defined HDZERO_AIO5
#define VTX_NAME "HDZ AIO5"
#elif defined HDZERO_AIO15
#define VTX_NAME "HDZ AIO15"
#else
#define VTX_NAME " "
#endif
Expand Down
4 changes: 2 additions & 2 deletions src/hardware.c
Original file line number Diff line number Diff line change
Expand Up @@ -555,12 +555,12 @@ void TempDetect() {
temp_new = I2C_Read8(ADDR_TEMPADC, 0);
if (temp_new >= 0x7D) // MAX +125
temp_new = 0x7D;
// temp_new >>= 5; //LM75AD
// temp_new >>= 5; //LM75AD

#ifdef HDZERO_ECO
if (temp_new > 10)
temp_new -= 10;
#elif defined HDZERO_AIO5
#elif defined HDZERO_AIO5 || defined HDZERO_AIO15
if (temp_new > 15)
temp_new -= 15;
#endif
Expand Down
7 changes: 7 additions & 0 deletions targets/hdzero_aio15.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[env:hdzero_aio15]
extends = DM5680
build_flags =
${DM5680.build_flags}
-DHDZERO_AIO15
-DUSE_TP9950
-DUSE_TEMPERATURE_SENSOR
Binary file modified vtx_targets.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.