Skip to content
This repository was archived by the owner on Mar 11, 2019. It is now read-only.

Commit 5cafb9c

Browse files
committed
esp32: Properly call all initializers
Note that if things break, this is probably related to the checked out GCC version (which must match the toolchain, which is probably version 5.2).
1 parent 15b7ac2 commit 5cafb9c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ports/esp32/main.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,9 @@ esp_err_t event_handler(void *ctx, system_event_t *event)
99
return ESP_OK;
1010
}
1111

12-
void machine_init() __asm__("machine..import");
13-
1412
void app_main(void)
1513
{
16-
//go_init(); // TODO
17-
machine_init();
14+
go_init();
1815
go_main();
1916

2017
// sleep forever

0 commit comments

Comments
 (0)