Skip to content

Commit

Permalink
Merge pull request #8 from esden/location-track-docstring
Browse files Browse the repository at this point in the history
Added card.location.track docstring
  • Loading branch information
gauteh authored Dec 31, 2023
2 parents 44e7fc6 + 72aa186 commit 1f3cf9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/card.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ impl<'a, IOM: Write<SevenBitAddress> + Read<SevenBitAddress>, const BS: usize> C
Ok(FutureResponse::from(self.note))
}

/// Store location data in a Notefile at the `periodic` interval, or using specified `heartbeat`.
/// Only available when `card.location.mode` has been set to `periodic`.
pub fn location_track(
self,
delay: &mut impl DelayMs<u16>,
Expand Down

0 comments on commit 1f3cf9f

Please sign in to comment.