KugleFirmware/Libraries/Devices/MTI200/xbusmessage.c
/*!
 * \brief Format a message with a pointer to an array of OutputConfiguration elements.
 */
\brief Format a message with a pointer to an array of OutputConfiguration elements.
\ brief Format a message with a pointer to an array of OutputConfiguration elements .
static void formatOutputConfig(uint8_t* raw, struct XbusMessage const* message)
{
	struct OutputConfiguration* conf = message->data;
	for (int i = 0; i < message->length; ++i)
	{
		raw = XbusUtility_writeU16(raw, conf->dtype);
		raw = XbusUtility_writeU16(raw, conf->freq);
		++conf;
	}
}
static void formatOutputConfig ( uint8_t * raw , struct XbusMessage const * message ) { struct OutputConfiguration * conf = message -> data ; for ( int i = 0 ; i < message -> length ; ++ i ) { raw = XbusUtility_writeU16 ( raw , conf -> dtype ) ; raw = XbusUtility_writeU16 ( raw , conf -> freq ) ; ++ conf ; } }
\brief Format a message with a pointer to an array of OutputConfiguration elements.
\ brief Format a message with a pointer to an array of OutputConfiguration elements .