1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Revert "Also backup members inside unions,"

This reverts commit dd76e9d8bf.
This commit is contained in:
Bertrand Songis 2016-03-26 15:48:42 +01:00
parent 1c9a5ed753
commit dfd4a04220
2 changed files with 16 additions and 66 deletions

View file

@ -1,4 +1,4 @@
//This file was auto-generated by generate_datacopy.py script on Fri Mar 25 14:01:12 2016. Do not edit this file!
//This file was auto-generated by generate_datacopy.py script on Wed Mar 16 20:12:19 2016. Do not edit this file!
@ -77,7 +77,6 @@ void copyCustomFunctionData(A * dest, B * src)
{
dest->swtch = src->swtch;
dest->func = src->func;
copyCustomFunctionData_all(&dest->CustomFunctionData_all, &src->CustomFunctionData_all);
dest->active = src->active;
}
@ -306,11 +305,3 @@ void copyRadioData(A * dest, B * src)
dest->potsConfig = src->potsConfig;
}
template <class A, class B>
void copyCustomFunctionData_all(A * dest, B * src)
{
dest->val = src->val;
dest->mode = src->mode;
dest->param = src->param;
}