MCPcopy Create free account
hub / github.com/kiibohd/controller / revsStr

Function revsStr

Bootloader/debug.c:215–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215void revsStr( char* in )
216{
217 // Iterators
218 int i, j;
219
220 // Temp storage
221 char c;
222
223 // Loop through the string, and reverse the order of the characters
224 for ( i = 0, j = lenStr( in ) - 1; i < j; i++, j-- )
225 {
226 c = in[i];
227 in[i] = in[j];
228 in[j] = c;
229 }
230}
231
232
233void hexToStr_op( uint32_t in, char* out, uint8_t op )

Callers 1

hexToStr_opFunction · 0.70

Calls 1

lenStrFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…