Skip to content

Commit

Permalink
lora: sx1276: Add missing RtcTick2Ms function definition
Browse files Browse the repository at this point in the history
RtcTick2Ms function is required for upcoming LoRaWAN support. Hence,
add definition for it.

Signed-off-by: Manivannan Sadhasivam <[email protected]>
  • Loading branch information
Mani-Sadhasivam authored and carlescufi committed May 4, 2020
1 parent 7be8deb commit f619cbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/lora/sx1276.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ u32_t RtcMs2Tick(uint32_t milliseconds)
return milliseconds;
}

u32_t RtcTick2Ms(uint32_t tick)
{
return tick;
}

static void sx1276_dio_work_handle(struct k_work *work)
{
int dio = work - dev_data.dio_work;
Expand Down

0 comments on commit f619cbc

Please sign in to comment.