mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: minimum
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
13f4c1949e
commit
1478a09825
3 changed files with 3 additions and 3 deletions
|
@ -92,7 +92,7 @@ typedef void (*GAPLEAdvertisingJobUnscheduleCallback)(GAPLEAdvertisingJobRef job
|
||||||
//! payload.
|
//! payload.
|
||||||
//! @param terms A combination of minimum advertisement interval, maximum advertisement
|
//! @param terms A combination of minimum advertisement interval, maximum advertisement
|
||||||
//! interval and duration. Each term is run in the order that they appear in the terms array.
|
//! interval and duration. Each term is run in the order that they appear in the terms array.
|
||||||
//! The minimum advertisement interval for each term must be at minumum 32 slots (20ms), or
|
//! The minimum advertisement interval for each term must be at minimum 32 slots (20ms), or
|
||||||
//! 160 slots (100ms) when there is a scan response. The maximum advertisement interval must
|
//! 160 slots (100ms) when there is a scan response. The maximum advertisement interval must
|
||||||
//! be larger than or equal to its corresponding min_interval_slots. The duration is the
|
//! be larger than or equal to its corresponding min_interval_slots. The duration is the
|
||||||
//! minimum number of seconds that the term will be active. The sum of all the durations is
|
//! minimum number of seconds that the term will be active. The sum of all the durations is
|
||||||
|
|
|
@ -187,7 +187,7 @@ TimerID flash_api_get_erase_poll_timer_for_test(void) {
|
||||||
//! Assumes that s_flash_lock is held.
|
//! Assumes that s_flash_lock is held.
|
||||||
static void prv_erase_pause(void) {
|
static void prv_erase_pause(void) {
|
||||||
if (s_erase.in_progress && !s_erase.suspended) {
|
if (s_erase.in_progress && !s_erase.suspended) {
|
||||||
// If an erase is in progress, make sure it gets at least a mininum time slice to progress.
|
// If an erase is in progress, make sure it gets at least a minimum time slice to progress.
|
||||||
// If not, the successive kicking of the suspend timer could starve it out completely
|
// If not, the successive kicking of the suspend timer could starve it out completely
|
||||||
psleep(100);
|
psleep(100);
|
||||||
task_watchdog_bit_set(s_erase.task);
|
task_watchdog_bit_set(s_erase.task);
|
||||||
|
|
|
@ -34,7 +34,7 @@ size_t comm_session_send_buffer_get_max_payload_length(const CommSession *sessio
|
||||||
//! is fine if bt_lock() is held.
|
//! is fine if bt_lock() is held.
|
||||||
//! @param session The session to which the message should be sent.
|
//! @param session The session to which the message should be sent.
|
||||||
//! @param endpoint_id The Pebble Protocol endpoint ID to send the message to.
|
//! @param endpoint_id The Pebble Protocol endpoint ID to send the message to.
|
||||||
//! @param required_free_length The number of bytes of free space the caller needs at minumum. Once
|
//! @param required_free_length The number of bytes of free space the caller needs at minimum. Once
|
||||||
//! the function returns with `true`, the amount of space (or more) is guaranteed to be available.
|
//! the function returns with `true`, the amount of space (or more) is guaranteed to be available.
|
||||||
//! @param timeout_ms The maximum duration to wait for the send buffer to become available with the
|
//! @param timeout_ms The maximum duration to wait for the send buffer to become available with the
|
||||||
//! required number of bytes of free space.
|
//! required number of bytes of free space.
|
||||||
|
|
Loading…
Add table
Reference in a new issue