mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-02-09 19:05:44 +00:00
silence warnings by making W600-specific variables really W600-specific
This commit is contained in:
@ -922,12 +922,12 @@ static int http_rest_post_flash(http_request_t* request, int startaddr, int maxa
|
||||
int towrite = request->bodylen;
|
||||
char* writebuf = request->bodystart;
|
||||
int writelen = request->bodylen;
|
||||
int nRetCode = 0;
|
||||
char error_message[256];
|
||||
|
||||
ADDLOG_DEBUG(LOG_FEATURE_OTA, "OTA post len %d", request->contentLength);
|
||||
|
||||
#ifdef PLATFORM_W600
|
||||
int nRetCode = 0;
|
||||
char error_message[256];
|
||||
|
||||
if (writelen < 0) {
|
||||
ADDLOG_DEBUG(LOG_FEATURE_OTA, "ABORTED: %d bytes to write", writelen);
|
||||
|
||||
Reference in New Issue
Block a user