From cc014c24ea622232fa19ac3ee5378099264a4f7f Mon Sep 17 00:00:00 2001 From: aw Date: Mon, 10 Jun 2024 20:59:49 +0200 Subject: [PATCH] refactor: correct include order - delete unnecessary redefinition of UINT32_MAX - group and sort include files Signed-off-by: aw --- modules/EvseV2G/v2g_server.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/modules/EvseV2G/v2g_server.cpp b/modules/EvseV2G/v2g_server.cpp index 09905a6dd..e41a0b7ab 100644 --- a/modules/EvseV2G/v2g_server.cpp +++ b/modules/EvseV2G/v2g_server.cpp @@ -1,9 +1,17 @@ // SPDX-License-Identifier: Apache-2.0 // Copyright (C) 2023 chargebyte GmbH // Copyright (C) 2023 Contributors to EVerest +#include "v2g_server.hpp" #include +#include +#include +#include + +#include + #include + #include #include #include @@ -13,19 +21,14 @@ #include #include #include -#include -#include -#include #include "connection.hpp" #include "din_server.hpp" #include "iso_server.hpp" #include "log.hpp" #include "tools.hpp" -#include "v2g_server.hpp" #define MAX_RES_TIME 98 -#define UINT32_MAX 0xFFFFFFFF static types::iso15118_charger::V2G_Message_ID get_V2G_Message_ID(enum V2gMsgTypeId v2g_msg, enum v2g_protocol selected_protocol, bool is_req) {