Skip to content

Commit

Permalink
uniformize examples
Browse files Browse the repository at this point in the history
  • Loading branch information
scaprile committed Sep 5, 2023
1 parent 8140ea1 commit 3a5d12c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/stm32/nucleo-h563zi-make-baremetal-builtin/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ static void timer_fn(void *arg) {
int main(void) {
gpio_output(LED); // Setup green LED
uart_init(UART_DEBUG, 115200); // Initialise debug printf

ethernet_init(); // Initialise ethernet pins
MG_INFO(("Starting, CPU freq %g MHz", (double) SystemCoreClock / 1000000));

struct mg_mgr mgr; // Initialise
mg_mgr_init(&mgr); // Mongoose event manager
mg_log_set(MG_LL_DEBUG); // Set log level
Expand Down

0 comments on commit 3a5d12c

Please sign in to comment.