Skip to content
Snippets Groups Projects
Commit c8482531 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

i2cdetect: Do not allocate i2c_status array on stack

parent 8b71c58a
No related branches found
No related tags found
No related merge requests found
......@@ -16,9 +16,10 @@ void loop(void)
//moody.toggleBlue();
}
unsigned int i2c_status[128 / (8 * sizeof(unsigned int)) + 1];
int main(void)
{
unsigned int i2c_status[128 / (8 * sizeof(unsigned int)) + 1];
arch.setup();
gpio.setup();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment