Commit e41091da authored by yoogx's avatar yoogx
Browse files

* Adjust size of the local queue

        For openaadl/ocarina#166
parent 73f41259
......@@ -1947,16 +1947,9 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Make_Defining_Identifier
(Map_C_Variable_Name (S, Port_Queue => True)),
Array_Size =>
Make_Expression
(Left_Expr =>
Make_Literal
(CV.New_Int_Value (Fifo_Size, 0, 10)),
Operator => Op_Asterisk,
Right_Expr =>
Make_Call_Profile
(Make_Defining_Identifier (FN (F_Sizeof)),
Make_List_Id (RE (RE_Request_T))))),
Used_Type => RE (RE_Port_T));
Make_Literal
(CV.New_Int_Value (Fifo_Size, 0, 10))),
Used_Type => RE (RE_Request_T));
Append_Node_To_List (N, CTN.Declarations (Current_File));
N :=
......
Markdown is supported
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