Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Scripting: ensure that all pass by reference values are initialized #26222

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

IamPete1
Copy link
Member

@IamPete1 IamPete1 commented Feb 14, 2024

Some functions may not initialize correctly. In place of checking them all this does the initialization in the binding.

@IamPete1
Copy link
Member Author

Flash cost:

Binary Name      Text [B]        Data [B]     BSS (B)       Total Flash Change [B] (%)      Flash Free After PR (B)
---------------  --------------  -----------  ------------  ----------------------------  -------------------------
ardurover        328 (+0.0202%)  0 (0.0000%)  0 (0.0000%)   328 (+0.0201%)                                   337236
blimp            320 (+0.0239%)  0 (0.0000%)  0 (0.0000%)   320 (+0.0238%)                                   622840
arducopter       332 (+0.0188%)  0 (0.0000%)  4 (+0.0015%)  332 (+0.0187%)                                   192876
arduplane        332 (+0.0189%)  0 (0.0000%)  4 (+0.0015%)  332 (+0.0188%)                                   201184
ardusub          320 (+0.0205%)  0 (0.0000%)  0 (0.0000%)   320 (+0.0204%)                                   400512
antennatracker   320 (+0.0243%)  0 (0.0000%)  0 (0.0000%)   320 (+0.0242%)                                   645708
arducopter-heli  332 (+0.0187%)  0 (0.0000%)  4 (+0.0015%)  332 (+0.0187%)                                   186708

@tridge tridge merged commit 5907e49 into ArduPilot:master Feb 20, 2024
93 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants