1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tools/zep_dispatch: topogen: fix node naming

This commit is contained in:
Benjamin Valentin 2023-01-25 19:51:52 +01:00
parent 3a4ec8d21e
commit 9e6e6c89f6

View File

@ -66,8 +66,8 @@ static void node_name(struct node *n, unsigned idx)
do {
uint8_t rem = idx % 26;
idx /= 26;
*s++ = 'A' + rem;
idx -= rem;
} while (idx && s != end);
*s = 0;
}