Skip to content

Immediate crash on apple silicon m2 when running BSP #40

Description

@LodenRietveld

There is an issue with conditions in DataPanel.cpp, line 15, that was causing builds of BSP to immediately crash on startup for me. The condition is incorrect, since when the table is created, but the baud_status is set to false, the started table will not be ended, causing a TreePush/TreePop mismatch and a crash (for me).

When I change the condition around to be this it works (with an extra brace after EndTable()):

if (gui->serial_manager.baud_status) {
        if (ImGui::BeginTable("data_table", 2, ImGuiTableFlags_Resizable)){

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions