Skip to content

Commit

Permalink
Don't include flashdescrim.h in unit tests / TX
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnBry committed Feb 12, 2024
1 parent 74d8e43 commit f4c4ea7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/OPTIONS/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,11 @@ const char *wifi_ap_password = "expresslrs";
const char *wifi_ap_address = "10.0.0.1";

#if !defined(TARGET_UNIFIED_TX) && !defined(TARGET_UNIFIED_RX)
#include "flashdiscrim.h"

#if defined(TARGET_RX)
// This is created by the build_flags.py and used by STM32 (ESP gets it from json)
#include "flashdiscrim.h"
#endif

const char device_name[] = DEVICE_NAME;
const char *product_name = (const char *)(target_name+4);
Expand Down

0 comments on commit f4c4ea7

Please sign in to comment.