hal fhss timer: all static functions inside anonymous namespace

pull/11308/head
Jarkko Paso 2019-08-19 13:20:46 +03:00 committed by adbridge
parent e5df7ff973
commit 7125683fc6
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,7 @@
#define NUMBER_OF_SIMULTANEOUS_TIMEOUTS 2
#endif //NUMBER_OF_SIMULTANEOUS_TIMEOUTS
namespace {
using namespace mbed;
using namespace events;
@ -162,6 +163,7 @@ static uint32_t platform_fhss_timestamp_read(const fhss_api_t *api)
(void)api;
return read_current_time();
}
} // anonymous namespace
fhss_timer_t fhss_functions = {
.fhss_timer_start = platform_fhss_timer_start,