cancel
Showing results for 
Search instead for 
Did you mean: 

Scroll Wheel give error in custom container.

Yunus ARI
Senior

I am trying to design a custom container which has a scroll well. This scroll wheel item template has a wildcard. When I add a Scroll Wheel and generate code, compiler generates same variables three time in CustomContainerBase.hpp file. Like below;

 
    /*
     * Wildcard Buffers
     */
    static const uint16_t ELEMENTTEXT_SIZE = 5;
    touchgfx::Unicode::UnicodeChar ElementTextBuffer[ELEMENTTEXT_SIZE];
    static const uint16_t ELEMENTTEXT_SIZE = 5;
    touchgfx::Unicode::UnicodeChar ElementTextBuffer[ELEMENTTEXT_SIZE];
    static const uint16_t ELEMENTTEXT_SIZE = 5;
    touchgfx::Unicode::UnicodeChar ElementTextBuffer[ELEMENTTEXT_SIZE];

Because of that, compailer give error and I can't fix it. What can I do about that?

Thank you for help.

1 ACCEPTED SOLUTION

Accepted Solutions
Martin KJELDSEN
Chief III

Hi @Yunus Arı​,

This has been fixed in a later version that we'll be able to release when CubeMX 5.4 comes out (anytime now).

/Martin

View solution in original post

3 REPLIES 3
Martin KJELDSEN
Chief III

Hi @Yunus Arı​,

This has been fixed in a later version that we'll be able to release when CubeMX 5.4 comes out (anytime now).

/Martin

Yunus ARI
Senior

Hi @Martin KJELDSEN​ 

Thank you for information.

You're welcome! 4.12.3 is right around the corner.

/Martin