Skip to content

Commit

Permalink
default USER_SW_VER for BL602
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Oct 1, 2022
1 parent 5269e0b commit e7f04c6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/httpserver/new_http.c
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ const char htmlFooterInfo[] =
"href=\"https://paypal.me/openshwprojects\">Support project</a><br>";

// make sure that USER_SW_VER is set on all platforms
// Automatic Github builds are setting it externally,
// but it may not be set while doing a test build on developer PC
#ifndef USER_SW_VER
#ifdef WINDOWS
#define USER_SW_VER "Win_Test"
Expand All @@ -99,6 +101,8 @@ const char htmlFooterInfo[] =
#define USER_SW_VER "W600_Test"
#elif defined(PLATFORM_W800)
#define USER_SW_VER "W800_Test"
#elif defined(PLATFORM_BL602)
#define USER_SW_VER "BL602_Test"
#else
#define USER_SW_VER "unknown"
#endif
Expand Down

0 comments on commit e7f04c6

Please sign in to comment.