diff --git a/src/remote.c b/src/remote.c index ea093212..87bf5be0 100644 --- a/src/remote.c +++ b/src/remote.c @@ -133,7 +133,7 @@ static ADIv5_DP_t remote_dp = { }; -void remotePacketProcessSWD(uint8_t i, char *packet) +static void remotePacketProcessSWD(unsigned i, char *packet) { uint8_t ticks; uint32_t param; @@ -184,7 +184,7 @@ void remotePacketProcessSWD(uint8_t i, char *packet) } } -void remotePacketProcessJTAG(uint8_t i, char *packet) +static void remotePacketProcessJTAG(unsigned i, char *packet) { uint32_t MS; uint64_t DO; @@ -267,7 +267,7 @@ void remotePacketProcessJTAG(uint8_t i, char *packet) } } -void remotePacketProcessGEN(uint8_t i, char *packet) +static void remotePacketProcessGEN(unsigned i, char *packet) { (void)i; @@ -324,7 +324,7 @@ void remotePacketProcessGEN(uint8_t i, char *packet) } } -void remotePacketProcessHL(uint8_t i, char *packet) +static void remotePacketProcessHL(unsigned i, char *packet) { (void)i; @@ -428,7 +428,7 @@ void remotePacketProcessHL(uint8_t i, char *packet) } -void remotePacketProcess(uint8_t i, char *packet) +void remotePacketProcess(unsigned i, char *packet) { switch (packet[0]) { case REMOTE_SWDP_PACKET: diff --git a/src/remote.h b/src/remote.h index 65f3bb95..a281d16c 100644 --- a/src/remote.h +++ b/src/remote.h @@ -178,6 +178,6 @@ '%','0', '2', 'x', '%','0','2','x', HEX_U32(address), HEX_U32(count), 0} uint64_t remotehston(uint32_t limit, char *s); -void remotePacketProcess(uint8_t i, char *packet); +void remotePacketProcess(unsigned int i, char *packet); #endif