Adding CubeIDE back (keeping Makefile too) - c++ nature added
This commit is contained in:
parent
c91bfd8be9
commit
f0ddd19150
14 changed files with 940 additions and 23 deletions
|
@ -97,7 +97,7 @@ void MainLoop()
|
|||
}
|
||||
uint32_t ein = LL_GPIO_ReadInputPort(KEY1_GPIO_Port);
|
||||
if(!(ein & KEY1_Pin)) {
|
||||
void (*fptr)(void) = (void*)0xa0000000;
|
||||
void (*fptr)(void) = (void (*)(void))(void*)0xa0000000;
|
||||
fptr();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue