Thomas Höhenleitner

Results 200 comments of Thomas Höhenleitner

An init() function should create a uint16 slice with len IDmax - IDmin and fill it iteratively with IDmin....IDmax. Any used ID is swapped to the slice[used] with used++. For...

If IDs exist outside IDmin...IDmax, they are ignored. If such a trice changed, simply a new ID is generated.

Done in `trice insert` from v0.61.0

Stay with `id(0)`, `Id(0)` and `ID(0)` for simplicity.

This will work only for new *trice* messages. Legacy IDs are not changed. Remove the legacy IDs first to apply the rules.