update main declaration

This commit is contained in:
Amar Mahmutbegovic
2024-06-08 20:37:59 +02:00
parent 19c06fe786
commit 86d023c857
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
#include <uart_stm32.hpp> #include <uart_stm32.hpp>
#include <stm32f072xb.h> #include <stm32f072xb.h>
extern "C" int main(void) int main()
{ {
hal::init(); hal::init();

View File

@@ -25,7 +25,7 @@ class gsm_lib{
}; };
extern "C" int main(void) int main()
{ {
hal::init(); hal::init();