[core] Rename init() to initArduino()

This commit is contained in:
Kuba Szczodrzyński
2022-07-03 16:49:46 +02:00
parent c19f24cbfd
commit 0dd2e2583b
2 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ fal_partition_t fal_root_part = NULL;
// Arduino framework initialization.
// May be redefined by family files.
void init() __attribute__((weak));
void initArduino() __attribute__((weak));
// Weak empty variant initialization function.
// May be redefined by variant files.
@@ -36,7 +36,7 @@ int main(void) {
// print a startup banner
LT_BANNER();
// initialize Arduino framework
init();
initArduino();
// initialize C library
__libc_init_array();
// optionally initialize per-variant code

View File

@@ -28,7 +28,7 @@ extern uint32_t GlobalDebugEnable;
extern uint16_t GlobalDebugLevel;
extern uint8_t GlobalPrivateLog;
void init() {
void initArduino() {
// make the SDK less verbose by default
GlobalDebugEnable = 0;
GlobalPrivateLog = 0;