mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: explicitly
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
1f430457c1
commit
f5e9b300f2
4 changed files with 6 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
//! @file gap_le_slave_discovery.h
|
//! @file gap_le_slave_discovery.h
|
||||||
//! This sub-module is responsible for advertising explicitely for device
|
//! This sub-module is responsible for advertising explicitly for device
|
||||||
//! discovery purposes. The advertisement will contain the device name,
|
//! discovery purposes. The advertisement will contain the device name,
|
||||||
//! transmit power level (to be able to order devices by estimated proximity),
|
//! transmit power level (to be able to order devices by estimated proximity),
|
||||||
//! Pebble Service UUID and discoverability flags.
|
//! Pebble Service UUID and discoverability flags.
|
||||||
|
@ -28,11 +28,11 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
//! @return True is Pebble is currently explicitely discoverable as BLE slave
|
//! @return True is Pebble is currently explicitly discoverable as BLE slave
|
||||||
//! or false if not.
|
//! or false if not.
|
||||||
bool gap_le_slave_is_discoverable(void);
|
bool gap_le_slave_is_discoverable(void);
|
||||||
|
|
||||||
//! @param discoverable True to make Pebble currently explicitely discoverable
|
//! @param discoverable True to make Pebble currently explicitly discoverable
|
||||||
//! as BLE slave. Initially, Pebble will advertise at a relatively high rate for
|
//! as BLE slave. Initially, Pebble will advertise at a relatively high rate for
|
||||||
//! a few seconds. After this, the rate will drop to save battery life.
|
//! a few seconds. After this, the rate will drop to save battery life.
|
||||||
void gap_le_slave_set_discoverable(bool discoverable);
|
void gap_le_slave_set_discoverable(bool discoverable);
|
||||||
|
|
|
@ -77,7 +77,7 @@ void shared_circular_buffer_remove_client(SharedCircularBuffer* buffer, SharedCi
|
||||||
//! than length. A second read call can be made with the remaining smaller length to retreive the rest.
|
//! than length. A second read call can be made with the remaining smaller length to retreive the rest.
|
||||||
//!
|
//!
|
||||||
//! The reason this read doesn't consume is to avoid having to copy out the data. The data_out pointer should be
|
//! The reason this read doesn't consume is to avoid having to copy out the data. The data_out pointer should be
|
||||||
//! stable until you explicitely ask for it to be consumed with circular_buffer_consume.
|
//! stable until you explicitly ask for it to be consumed with circular_buffer_consume.
|
||||||
//!
|
//!
|
||||||
//! @param buffer The buffer to read from
|
//! @param buffer The buffer to read from
|
||||||
//! @param client pointer to the client struct originally passed to circular_buffer_add_client
|
//! @param client pointer to the client struct originally passed to circular_buffer_add_client
|
||||||
|
|
|
@ -71,7 +71,7 @@ void circular_buffer_write_finish(CircularBuffer *buffer, uint16_t written_lengt
|
||||||
//! than length. A second read call can be made with the remaining smaller length to retreive the rest.
|
//! than length. A second read call can be made with the remaining smaller length to retreive the rest.
|
||||||
//!
|
//!
|
||||||
//! The reason this read doesn't consume is to avoid having to copy out the data. The data_out pointer should be
|
//! The reason this read doesn't consume is to avoid having to copy out the data. The data_out pointer should be
|
||||||
//! stable until you explicitely ask for it to be consumed with circular_buffer_consume.
|
//! stable until you explicitly ask for it to be consumed with circular_buffer_consume.
|
||||||
//!
|
//!
|
||||||
//! @param buffer The buffer to read from
|
//! @param buffer The buffer to read from
|
||||||
//! @param length How many bytes to read
|
//! @param length How many bytes to read
|
||||||
|
|
|
@ -66,7 +66,7 @@ def wrap_cprogram_task_class():
|
||||||
self.env.env = {}
|
self.env.env = {}
|
||||||
self.env.env.update(os.environ)
|
self.env.env.update(os.environ)
|
||||||
for key in ['EMCC_DEBUG', 'EMCC_CORES', 'EM_CACHE']:
|
for key in ['EMCC_DEBUG', 'EMCC_CORES', 'EM_CACHE']:
|
||||||
if self.env[key]: # If not explicitely set, empty list is returned
|
if self.env[key]: # If not explicitly set, empty list is returned
|
||||||
self.env.env[key] = str(self.env[key])
|
self.env.env[key] = str(self.env[key])
|
||||||
emx_cls.__init__ = init
|
emx_cls.__init__ = init
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue