add missing <string> and <cmath> includes
This commit is contained in:
parent
a79f75285f
commit
999888eaf8
1
main.cpp
1
main.cpp
|
@ -55,6 +55,7 @@
|
|||
#include <iostream>
|
||||
#include <typeinfo>
|
||||
#include <algorithm>
|
||||
#include <cmath> // std::pow
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
|
|
|
@ -60,6 +60,7 @@
|
|||
#define NRF_ERROR_INVALID_ADDR (NRF_ERROR_BASE_NUM + 16) ///< Bad Memory Address
|
||||
#define NRF_ERROR_BUSY (NRF_ERROR_BASE_NUM + 17) ///< Busy
|
||||
#include <stdexcept>
|
||||
#include <string> // std::to_string()
|
||||
template<typename T>
|
||||
void APP_ERROR_HANDLER(T err) {
|
||||
throw std::runtime_error("APP_ERROR_HANDLER: " + std::to_string(err));
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <stdexcept>
|
||||
#include <string> // std::to_string
|
||||
|
||||
void nrf_gpio_cfg_default(uint32_t pin_number) {}
|
||||
void nrf_gpio_pin_set(uint32_t pin_number) {}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "task.h"
|
||||
#include <chrono>
|
||||
#include <stdexcept>
|
||||
#include <string> // std::to_string
|
||||
|
||||
uint32_t nrf_rtc_counter_get(NRF_RTC_Type p_reg)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user