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:
parent
3a4ec8d21e
commit
9e6e6c89f6
2
dist/tools/zep_dispatch/topogen.c
vendored
2
dist/tools/zep_dispatch/topogen.c
vendored
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user