Do you need to call GUI_ANIM_Delete when using GUI_ANIM_StartEx

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Do you need to call GUI_ANIM_Delete when using GUI_ANIM_StartEx

      I'm using some animations in our code but I see crashes when using GUI_ANIM_Delete.
      I was wondering if it is necessary to use GUI_ANIM_Delete if you start the animation with GUI_ANIM_StartEx or is the memory automatically freed when the animation stops?
    • Hi,

      Yes, the animation gets deleted automatically after it reaches the end.

      GUI_ANIM_StartEx(hAnim, 1, NULL); would cause the animation to be processed one time and beeing deleted after it.

      Regards,
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.
    • Hi,

      Yes, it is not clear on this point. We will add a description.

      Regards,
      Sven
      Please read the forum rules before posting.

      Keep in mind, this is *not* a support forum.
      Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
      Should you be entitled to support you can contact us via our support system: segger.com/ticket/

      Or you can contact us via e-mail.