main.c
// Init peripherals, such as leds, timers, SPI, WDT and NFC. Default configuration is in application_config.h if applicable.
// Some board-specific configuration, such as SPI speed and pinout is in board configuration.
Init peripherals, such as leds, timers, SPI, WDT and NFC. Default configuration is in application_config.h if applicable.
Some board-specific configuration, such as SPI speed and pinout is in board configuration.
Init peripherals such as leds timers SPI WDT and NFC . Default configuration is in application_config . h if applicable . Some board - specific configuration such as SPI speed and pinout is in board configuration .
static ruuvi_status_t app_peripheral_init()
{
  ruuvi_status_t err_code = RUUVI_SUCCESS;
  err_code |= task_led_init();
  PLATFORM_LOG_INFO("Peripheral init status: 0x%X", err_code);
  return err_code;
}
static ruuvi_status_t app_peripheral_init ( ) { ruuvi_status_t err_code = RUUVI_SUCCESS ; err_code |= task_led_init ( ) ; PLATFORM_LOG_INFO ( " " , err_code ) ; return err_code ; }
Init peripherals, such as leds, timers, SPI, WDT and NFC.
Init peripherals such as leds timers SPI WDT and NFC .
// err_code |= task_spi_init(); // task_timers_init(); // task_rtc_init(); // task_crypto_init(); // task_nfc_init(); // err_code |= task_adc_init();