struct Test2{
int b;
};
struct Test {
Test2 test2;
int a;
};
Test test;
void setup() {
test.test2.b = 1; // ok
func(test.test2); // Ругается, пишет could not convert 'test.Test::test2' from 'Test2' to 'Test'
}
void loop() {}
void func(struct Test buff){
// ...
}