diff --git a/src/httpserver/new_http.c b/src/httpserver/new_http.c index bccc9ea35..b3e220499 100644 --- a/src/httpserver/new_http.c +++ b/src/httpserver/new_http.c @@ -310,8 +310,14 @@ template_t g_templates [] = { int g_total_templates = sizeof(g_templates)/sizeof(g_templates[0]); +#if PLATFORM_XR809 +const char *g_header = "

OpenXR809

[Read more][Support project]

"; + +#else const char *g_header = "

OpenBK7231

[Read more][Support project]

"; +#endif + void HTTP_AddBuildFooter(http_request_t *request) { char upTimeStr[128]; @@ -978,10 +984,17 @@ int HTTP_ProcessPacket(http_request_t *request) { poststr(request,"
"); for( i = 0; i < GPIO_MAX; i++) { int si, ch; + si = PIN_GetPinRoleForPinIndex(i); ch = PIN_GetPinChannelForPinIndex(i); + +#if PLATFORM_XR809 + poststr(request,PIN_GetPinNameAlias(i)); + poststr(request," "); +#else sprintf(tmpA, "P%i ",i); poststr(request,tmpA); +#endif sprintf(tmpA, "