Commit ff27260c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge branch 'feature-generic-linux-fix-param' into 'feature_bullseye'

Generic Linux Runtime - support for sporadic interfaces without parameters

See merge request !76
parents 57ae7ec1 b7fc8447
......@@ -46,7 +46,12 @@ void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
{
@@IF@@ @_Kind_@ = SPORADIC_OPERATION
@@IF@@ @_No_Param_@
static uint8_t buffer_placeholder[1];
deliver_to_@_LOWER:Remote_Function_Names_@_@_LOWER:Remote_Interface_Names_@(buffer_placeholder, 0);
@@ELSE@@
deliver_to_@_LOWER:Remote_Function_Names_@_@_LOWER:Remote_Interface_Names_@(reinterpret_cast<const uint8_t*>(IN_buf_@_LOWER:Param_Names_@), size_IN_buf_@_LOWER:Param_Names_@);
@@END_IF@@
@@ELSIF@@ @_Kind_@ = UNPROTECTED_OPERATION
// Unprotected call (call function defined in vm_if or SIMULINK.Simulink.c function)
@@TABLE@@
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment