mirror of
https://github.com/google/pebble.git
synced 2025-06-13 05:03:12 +00:00
spelling: occurred
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0f0c1cca12
commit
3d34684548
10 changed files with 15 additions and 15 deletions
|
@ -56,7 +56,7 @@
|
|||
|
||||
//! Error values which may be returned from the smartstrap APIs.
|
||||
typedef enum {
|
||||
//! No error occured.
|
||||
//! No error occurred.
|
||||
SmartstrapResultOk = 0,
|
||||
//! Invalid function arguments were supplied.
|
||||
SmartstrapResultInvalidArgs,
|
||||
|
@ -69,7 +69,7 @@ typedef enum {
|
|||
SmartstrapResultServiceUnavailable,
|
||||
//! The smartstrap reported that it does not support the requested attribute.
|
||||
SmartstrapResultAttributeUnsupported,
|
||||
//! A time-out occured during the request.
|
||||
//! A time-out occurred during the request.
|
||||
SmartstrapResultTimeOut,
|
||||
} SmartstrapResult;
|
||||
|
||||
|
@ -153,7 +153,7 @@ void app_smartstrap_set_timeout(uint16_t timeout_ms);
|
|||
//! @param attribute_id The AttributeId to create the attribute for.
|
||||
//! @param buffer_length The length of the internal buffer which will be used to store the read
|
||||
//! and write requests for this attribute.
|
||||
//! @returns The newly created SmartstrapAttribute or NULL if an internal error occured or if the
|
||||
//! @returns The newly created SmartstrapAttribute or NULL if an internal error occurred or if the
|
||||
//! specified length is greater than SMARTSTRAP_ATTRIBUTE_LENGTH_MAXIMUM.
|
||||
SmartstrapAttribute *app_smartstrap_attribute_create(SmartstrapServiceId service_id,
|
||||
SmartstrapAttributeId attribute_id,
|
||||
|
|
|
@ -379,7 +379,7 @@ typedef enum {
|
|||
|
||||
//! Developer-supplied event handler, called when a health-related event occurs after subscribing
|
||||
//! via \ref health_service_events_subscribe();
|
||||
//! @param event The type of health-related event that occured.
|
||||
//! @param event The type of health-related event that occurred.
|
||||
//! @param context The developer-supplied context pointer.
|
||||
typedef void (*HealthEventHandler)(HealthEventType event, void *context);
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ typedef void (*MenuLayerDrawSeparatorCallback)(GContext* ctx,
|
|||
|
||||
//! Function signature for the callback to handle the event that a user hits
|
||||
//! the SELECT button.
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event occured
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event occurred
|
||||
//! @param cell_index The MenuIndex of the cell that is selected
|
||||
//! @param callback_context The callback context
|
||||
//! @see \ref menu_layer_set_callbacks()
|
||||
|
@ -225,7 +225,7 @@ typedef void (*MenuLayerSelectCallback)(struct MenuLayer *menu_layer,
|
|||
|
||||
//! Function signature for the callback to handle a change in the current
|
||||
//! selected item in the menu.
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event occured
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event occurred
|
||||
//! @param new_index The MenuIndex of the new item that is selected now
|
||||
//! @param old_index The MenuIndex of the old item that was selected before
|
||||
//! @param callback_context The callback context
|
||||
|
@ -239,7 +239,7 @@ typedef void (*MenuLayerSelectionChangedCallback)(struct MenuLayer *menu_layer,
|
|||
//! Function signature for the callback which allows or changes selection behavior of the menu.
|
||||
//! In order to change the cell that should be selected, modify the passed in new_index.
|
||||
//! Preventing the selection from changing, new_index can be assigned the value of old_index.
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event that occured
|
||||
//! @param menu_layer The \ref MenuLayer for which the selection event that occurred
|
||||
//! @param new_index Pointer to the index that the MenuLayer is going to change selection to.
|
||||
//! @param old_index The index that is being unselected.
|
||||
//! @param callback_context The callback context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue