File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5555#include < iostream>
5656#include < typeinfo>
5757#include < algorithm>
58+ #include < cmath> // std::pow
5859
5960/* ********************
6061 * DEFINES
Original file line number Diff line number Diff line change 6060#define NRF_ERROR_INVALID_ADDR (NRF_ERROR_BASE_NUM + 16 ) // /< Bad Memory Address
6161#define NRF_ERROR_BUSY (NRF_ERROR_BASE_NUM + 17 ) // /< Busy
6262#include < stdexcept>
63+ #include < string> // std::to_string()
6364template <typename T>
6465void APP_ERROR_HANDLER (T err) {
6566 throw std::runtime_error (" APP_ERROR_HANDLER: " + std::to_string (err));
Original file line number Diff line number Diff line change 44
55#include < SDL2/SDL.h>
66#include < stdexcept>
7+ #include < string> // std::to_string
78
89void nrf_gpio_cfg_default (uint32_t pin_number) {}
910void nrf_gpio_pin_set (uint32_t pin_number) {}
Original file line number Diff line number Diff line change 33#include " task.h"
44#include < chrono>
55#include < stdexcept>
6+ #include < string> // std::to_string
67
78uint32_t nrf_rtc_counter_get (NRF_RTC_Type p_reg)
89{
You can’t perform that action at this time.
0 commit comments