Skip to content

Commit

Permalink
ReportOutputBufferExhaustion is now static
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Feb 12, 2025
1 parent 4974c4c commit 1a75fc4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Networking/NetworkResponder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ IPAddress NetworkResponder::GetRemoteIP() const noexcept
return (skt == nullptr) ? IPAddress() : skt->GetRemoteIP();
}

void NetworkResponder::ReportOutputBufferExhaustion(const char *_ecv_array sourceFile, int line) noexcept
/*static */void NetworkResponder::ReportOutputBufferExhaustion(const char *_ecv_array sourceFile, int line) noexcept
{
if (reprap.Debug(Module::Webserver))
{
Expand Down
3 changes: 2 additions & 1 deletion src/Networking/NetworkResponder.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class NetworkResponder
virtual void ConnectionLost() noexcept;

IPAddress GetRemoteIP() const noexcept;
void ReportOutputBufferExhaustion(const char *_ecv_array sourceFile, int line) noexcept;

static void ReportOutputBufferExhaustion(const char *_ecv_array sourceFile, int line) noexcept;

static Platform& GetPlatform() noexcept { return reprap.GetPlatform(); }
static Network& GetNetwork() noexcept { return reprap.GetNetwork(); }
Expand Down
2 changes: 1 addition & 1 deletion src/Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#ifndef VERSION
// Note: the complete VERSION string must be in standard version number format and must not contain spaces! This is so that DWC can parse it.
# define MAIN_VERSION "3.6.0-beta.4"
# define MAIN_VERSION "3.6.0-beta.4+1"
# ifdef USE_CAN0
# define VERSION_SUFFIX "(CAN0)"
# else
Expand Down

0 comments on commit 1a75fc4

Please sign in to comment.