Adding CubeIDE back (keeping Makefile too) - c++ nature added

This commit is contained in:
Attila Body 2019-10-25 12:56:01 +02:00
parent c91bfd8be9
commit f0ddd19150
14 changed files with 940 additions and 23 deletions

View file

@ -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();
}
}