From 948780526b430ee73378b46b78faad435632d10e Mon Sep 17 00:00:00 2001 From: gilteixeira Date: Mon, 27 Feb 2023 17:08:51 +0000 Subject: [PATCH] switch from 0x00 to 0xff to make the compilers work --- src/evcsnm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/evcsnm.c b/src/evcsnm.c index 362fe39..8dc2457 100644 --- a/src/evcsnm.c +++ b/src/evcsnm.c @@ -75,10 +75,11 @@ static int mk_evcsnm(uint8_t *evcsnm_oer, uint32_t *evcsnm_len) cs_elem0->type.buf = calloc(1, sizeof(uint8_t)); cs_elem0->type.size = 1; cs_elem0->type.bits_unused = 0; - cs_elem0->type.buf[0] = 0; + cs_elem0->type.buf[0] = 0xff; cs_elem0->typeOfReceptacle.buf = calloc(1, sizeof(uint8_t)); cs_elem0->typeOfReceptacle.size = 1; cs_elem0->typeOfReceptacle.bits_unused = 0; + cs_elem0->typeOfReceptacle.buf[0] = 0xff; itss_space_unlock(epv); // if (facilities.station_type == StationType_roadSideUnit) //{