Skip to content

Commit 3b199f8

Browse files
committed
kernel: Add custom vibration pattern support flag
Signed-off-by: Joshua Jun <[email protected]>
1 parent acee2ef commit 3b199f8

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/fw/kernel/system_versions.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ static void prv_send_watch_versions(CommSession *session) {
145145
#endif
146146
versions_msg.capabilities.continue_fw_install_across_disconnect_support = 1;
147147
versions_msg.capabilities.smooth_fw_install_progress_support = 1;
148+
versions_msg.capabilities.custom_vibe_pattern_support = 1;
148149
bt_local_id_copy_address(&versions_msg.device_address);
149150

150151
versions_msg.system_resources_version = resource_get_system_version();

src/fw/services/common/comm_session/session_remote_version.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,7 @@ typedef struct PACKED {
3030
bool reminders_app_support:1;
3131
bool workout_app_support:1;
3232
bool smooth_fw_install_progress_support:1;
33-
// Workaround the fact that we inadvertently injected some padding when we added a 5 bit
34-
// field (PBL-37933) Since the padded bits are all getting 0'ed out today, we are free to use
35-
// them in the future!
36-
uint8_t padded_bits:1;
33+
bool custom_vibe_pattern_support:1;
3734
uint8_t javascript_bytecode_version_appended: 1;
3835
uint8_t more_padded_bits:4;
3936
bool continue_fw_install_across_disconnect_support: 1;

0 commit comments

Comments
 (0)