Skip to content

Address compilation issues with higher warning levels#91

Open
akuker wants to merge 1 commit into
raspberrypi:masterfrom
akuker:master
Open

Address compilation issues with higher warning levels#91
akuker wants to merge 1 commit into
raspberrypi:masterfrom
akuker:master

Conversation

@akuker
Copy link
Copy Markdown

@akuker akuker commented Jun 1, 2024

This PR includes a number of minor updates (mostly type-casting) to address compiler warnings.


static unsigned num_instances;
static struct bcm2712_inst bcm2712_instances[BCM2712_MAX_INSTANCES] = { 0 };
static struct bcm2712_inst bcm2712_instances[BCM2712_MAX_INSTANCES] = { {0,0,0,0,0,0,0} };
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not use the simpler expression

static struct bcm2712_inst bcm2712_instances[BCM2712_MAX_INSTANCES];

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants