Skip to content

Commit

Permalink
refactor: correct include order
Browse files Browse the repository at this point in the history
- delete unnecessary redefinition of UINT32_MAX
- group and sort include files

Signed-off-by: aw <aw@pionix.de>
  • Loading branch information
a-w50 committed Jun 10, 2024
1 parent 05c45c8 commit 4978011
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions modules/EvseV2G/v2g_server.cpp
Original file line number Diff line number Diff line change
@@ -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 <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <cstdint>

#include <mbedtls/base64.h>

#include <openv2g/appHandEXIDatatypesDecoder.h>
#include <openv2g/appHandEXIDatatypesEncoder.h>
#include <openv2g/dinEXIDatatypes.h>
Expand All @@ -13,19 +21,14 @@
#include <openv2g/iso1EXIDatatypesDecoder.h>
#include <openv2g/iso1EXIDatatypesEncoder.h>
#include <openv2g/v2gtp.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#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) {
Expand Down

0 comments on commit 4978011

Please sign in to comment.