Skip to content

Commit

Permalink
FHSS unit tests: Fixed missing timestamp read function
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarkko Paso committed Aug 29, 2018
1 parent 65d96c4 commit f43b3af
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/nanostack/unittest/stub/fhss_callbacks_stub.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ uint32_t mac_read_phy_datarate(const fhss_api_t *fhss_api)
return 250000;
}

uint32_t mac_read_phy_timestamp(const fhss_api_t *fhss_api)
{
return 0;
}

int mac_set_channel(const fhss_api_t *fhss_api, uint8_t channel_number)
{
fhss_callbacks_stub.uint8_value = channel_number;
Expand Down

0 comments on commit f43b3af

Please sign in to comment.