Ok, i am stupid. There is a perfectly valid solution:
```c
// transfer attActual.Yaw from (-180 ... 180) to (0 ... 360) and round to nearest integer
int16_t heading = lroundf(attActual.Yaw);
if (heading < 0)
	heading += 360;
```