mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-09 08:47:55 +01:00
platforms misc stuff, naming so we know if its BK version N, T or maybe XR809 build?
This commit is contained in:
@@ -318,14 +318,23 @@ int g_total_templates = sizeof(g_templates)/sizeof(g_templates[0]);
|
||||
#if PLATFORM_XR809
|
||||
const char *g_header = "<h1><a href=\"https://github.com/openshwprojects/OpenXR809/\">OpenXR809</a></h1><h3><a href=\"https://www.elektroda.com/rtvforum/viewtopic.php?p=19841301#19841301\">[Read more]</a><a href=\"https://paypal.me/openshwprojects\">[Support project]</a></h3>";
|
||||
|
||||
#elif PLATFORM_BK7231N
|
||||
|
||||
const char *g_header = "<h1><a href=\"https://github.com/openshwprojects/OpenBK7231T/\">OpenBK7231N</a></h1><h3><a href=\"https://www.elektroda.com/rtvforum/viewtopic.php?p=19841301#19841301\">[Read more]</a><a href=\"https://paypal.me/openshwprojects\">[Support project]</a></h3>";
|
||||
|
||||
#elif PLATFORM_BK7231T
|
||||
|
||||
const char *g_header = "<h1><a href=\"https://github.com/openshwprojects/OpenBK7231T/\">OpenBK7231N</a></h1><h3><a href=\"https://www.elektroda.com/rtvforum/viewtopic.php?p=19841301#19841301\">[Read more]</a><a href=\"https://paypal.me/openshwprojects\">[Support project]</a></h3>";
|
||||
|
||||
#elif WINDOWS
|
||||
|
||||
const char *g_header = "<h1><a href=\"https://github.com/openshwprojects/OpenBK7231T/\">OpenBK7231 [Win test]</a></h1><h3><a href=\"https://www.elektroda.com/rtvforum/viewtopic.php?p=19841301#19841301\">[Read more]</a><a href=\"https://paypal.me/openshwprojects\">[Support project]</a></h3>";
|
||||
|
||||
#else
|
||||
|
||||
const char *g_header = "<h1><a href=\"https://github.com/openshwprojects/OpenBK7231T/\">OpenBK7231T</a></h1><h3><a href=\"https://www.elektroda.com/rtvforum/viewtopic.php?p=19841301#19841301\">[Read more]</a><a href=\"https://paypal.me/openshwprojects\">[Support project]</a></h3>";
|
||||
|
||||
const char *g_header = "<h1>error</h1>";
|
||||
#error "Platform not supported"
|
||||
Platform not supported
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -95,9 +95,15 @@ const char *CFG_GetShortDeviceName(){
|
||||
#elif PLATFORM_XR809
|
||||
#define DEVICENAME_PREFIX_FULL "OpenXR809"
|
||||
#define DEVICENAME_PREFIX_SHORT "oxr"
|
||||
#else
|
||||
#elif PLATFORM_BK7231N
|
||||
#define DEVICENAME_PREFIX_FULL "OpenBK7231N"
|
||||
#define DEVICENAME_PREFIX_SHORT "obk"
|
||||
#elif PLATFORM_BK7231T
|
||||
#define DEVICENAME_PREFIX_FULL "OpenBK7231T"
|
||||
#define DEVICENAME_PREFIX_SHORT "obk"
|
||||
#else
|
||||
#error "You must define a platform.."
|
||||
This platform is not supported, error!
|
||||
#endif
|
||||
|
||||
void WiFI_GetMacAddress(char *mac) {
|
||||
|
||||
Reference in New Issue
Block a user