Commit b5dae34
treewide: apply clang-format
Run clang-format 22 over every tracked C and proto source that is not
excluded by .clang-format-ignore. A second pass was needed on a handful
of files where trailing comment alignment is not stable after one run.
Co-authored-by: Nick Schonning <nschonni@gmail.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>1 parent 27922ec commit b5dae34
2,278 files changed
Lines changed: 61569 additions & 63787 deletions
File tree
- apps
- samples
- accelerometer_peek_test/src
- app_heap_demo/src
- app_messages_test/src
- bg_task_test
- src
- worker_src
- ble_demo/src
- complex_animations/src
- crash_demo_watchface/src
- crash_demo/src
- data_logging_spam/src
- delayed_worker_crash
- src
- worker_src
- dictation_demo/src
- draw_lines/src
- draw_text/src
- fill_radial/src
- fps_test/src
- health_api_test/src
- launch_reason_demo/src
- localtime_gmtime_test/src
- startup_crash_demo/src
- strftime_test/src
- timer_starve/src
- watch_info_test/src
- window_transitions/src
- stored/golf/src
- include
- bluetooth
- pbl
- btutil
- drivers
- display
- sharp_ls013b7dh01
- flash
- hrm
- i2c
- imu
- lis2dw12
- mmc5603nj
- mic
- nrf5
- sf32lb52
- pmic
- qemu
- speaker
- nrf5
- sf32lb52
- touch/cst816
- uart
- kernel
- logging
- mcu
- os
- services
- activity
- kraepelin
- alarms
- analytics
- app_message
- battery
- blob_db
- bluetooth
- comm_session
- compositor
- default
- legacy
- contacts
- data_logging
- filesystem
- get_bytes
- hrm
- i18n
- new_timer
- notifications
- ancs
- process_management
- protobuf_log
- put_bytes
- settings
- speaker
- timeline
- touch
- vibes
- voice
- weather
- soc/sf32lb
- util
- pebbleos
- kernel
- arch
- arm
- posix
- lib
- btutil
- c/newlib
- os/mcu
- util
- sdk/defaults/app
- soc
- nrf/nrf52
- sf32lb/sf32lb52x
- src
- bluetooth-fw
- nimble
- qemu
- stub
- fw
- applib
- app_message
- app_sync
- bluetooth
- fonts
- graphics
- 1_bit
- 8_bit
- assets_temp
- legacy2/ui
- moddable
- pbl_std
- ui
- dialogs
- kino
- kino_reel
- recognizer
- vendor
- tinflate
- uPNG
- voice
- apps
- core
- demo
- accel_demo
- activity_demo
- activity_test
- amb_light_read
- animated_demo
- app_heap_demo
- bouncing_box_demo
- click
- data_logging_test
- deadlock
- dialogs
- double_tap_test
- emoji_test
- event_service
- exit
- flash_diagnostic
- flash_prof
- font_test
- fs_resources
- fw_update_progress_sim
- gdrawmask_demo
- gfx_tests
- hrm_demo
- idl
- kill_bt
- kino_layer
- light_config
- morph_square
- movable_line
- mpu_test
- mpu_violation_test
- number_field
- pebble_colors
- pebble_shapes
- persist
- profile_mutexes
- progress
- scroll
- statusbar
- stroke_width
- swap_layer
- temperature_demo
- test_args_sender
- test_bluetooth
- test_core_dump
- test_sys_timer
- text_clipping
- text_flow
- text_layout
- text_spacing
- timeline_pins
- timer
- trigger_alarm
- vibe_and_logs
- vibe_score
- vibe_strength
- prf
- recovery_first_use
- sdk
- system
- alarms
- health
- launcher
- default
- reminders
- send_text
- settings
- timeline
- toggle
- weather
- workout
- watch
- kickstart
- low_power
- tictoc
- bw
- default
- round
- board
- boards
- displays
- comm
- ble
- kernel_le_client
- ams
- ancs
- app_launch
- dis
- ppogatt
- test
- internals
- console
- debug
- drivers
- ambient
- backlight
- display
- sf32lb
- sharp_ls013b7dh01
- exti
- flash
- gpio
- hrm
- i2c
- imu
- lis2dw12
- lsm6dso
- mmc5603nj
- mic
- nrf5
- qemu
- sf32lb52
- mpu
- nrf5
- otp
- pmic
- pressure
- pwm
- qemu
- rng
- rtc
- sf32lb52
- speaker
- nrf5
- qemu
- sf32lb52
- stubs
- temperature
- touch/cst816
- uart
- vibe
- watchdog
- flash_region
- kernel
- ui
- modals
- util
- mfg
- asterix
- getafix
- mfg_mode
- obelix
- qemu
- popups
- ble_hrm
- notifications
- timeline
- process_management
- process_state
- app_state
- worker_state
- resource
- services
- accel_manager
- activity
- kraepelin
- alarms
- analytics
- animation_service
- app_cache
- app_fetch_endpoint
- app_glances
- app_inbox_service
- app_message
- app_order_endpoint
- app_outbox_service
- audio_endpoint
- battery
- nrf_fuel_gauge
- voltage
- blob_db
- bluetooth
- boot_splash
- clock
- comm_session
- compositor
- default
- legacy
- contacts
- cron
- data_logging
- debounced_connection_service
- ecompass
- event_service
- evented_timer
- filesystem
- firmware_update
- get_bytes
- health_sync_endpoint
- hrm
- i18n
- idle_watchdog
- imaging
- light
- music
- new_timer
- notifications
- ancs
- orientation_manager
- persist
- phone_call
- phone_pp
- ping
- poll_remote
- prf_update
- process_management
- protobuf_log
- put_bytes
- registry_endpoint
- regular_timer
- send_text_service
- services_common
- services_normal
- settings
- speaker
- stationary
- system_task
- tick_timer
- timeline
- timezone_database
- touch
- vibe_pattern
- vibes
- voice_endpoint
- voice
- wakeup
- weather
- shell
- normal
- prf
- sdk
- startup
- syscall
- system
- util
- rand
- time
- idl/nanopb
- subsys/logging
- tests
- fakes
- fw
- applib
- bluetooth
- apps
- system_apps
- health
- launcher
- music
- timeline
- weather
- workout
- watch/kickstart
- comm
- console
- drivers
- graphics
- 1bit
- 8bit
- kernel
- mfg
- pebble_actions
- services
- activity
- kraepelin_reference
- app_message
- blob_db
- bluetooth
- comm_session
- compositor
- health
- notifications
- protobuf_log
- settings
- timeline
- shell
- normal
- system
- ui
- recognizer
- util
- kernel
- libutil
- overrides
- da1468x/test_dialog_analytics
- default
- _test
- applib
- kernel
- resources
- asterix/resource
- gabbro/resource
- obelix/resource
- services/normal/notifications
- shell
- dummy_board/board
- fake_app_registry/shell
- font_compression/board
- fpc_pinstrap_board/board
- getafix_backlight/board
- pp_endpoints
- pbl/services/comm_session
- services/comm_session
- rtc_calibration
- test_infra_test/_test
- test_pbl_std/process_state/app_state
- test_timezone/board
- stubs
- subsys/logging
- test_includes
- vendor/duma
- third_party
- cmsis_core/pebble
- hal_nordic
- hal_sifli/sf32lb52
- mbedtls/include
- nimble
- port
- include
- nimble
- nrf52/syscfg
- sf32lb52/syscfg
- src
- syscfg/app/src
- transport
- speex
- tools
- generate_native_sdk/fake_libc_include
- pdc2png/src
- qemu_spi_cooker/src
- text2wasm
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
31 | 30 | | |
32 | 31 | | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
45 | | - | |
| 44 | + | |
46 | 45 | | |
47 | 46 | | |
48 | 47 | | |
| |||
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | | - | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | | - | |
24 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
| 26 | + | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
| 63 | + | |
65 | 64 | | |
66 | 65 | | |
67 | 66 | | |
| |||
77 | 76 | | |
78 | 77 | | |
79 | 78 | | |
80 | | - | |
81 | | - | |
| 79 | + | |
| 80 | + | |
82 | 81 | | |
83 | 82 | | |
84 | | - | |
85 | | - | |
| 83 | + | |
86 | 84 | | |
87 | 85 | | |
88 | 86 | | |
| |||
102 | 100 | | |
103 | 101 | | |
104 | 102 | | |
105 | | - | |
106 | 103 | | |
107 | 104 | | |
108 | 105 | | |
109 | 106 | | |
110 | 107 | | |
111 | | - | |
| 108 | + | |
112 | 109 | | |
113 | 110 | | |
114 | 111 | | |
115 | 112 | | |
116 | 113 | | |
117 | 114 | | |
118 | 115 | | |
119 | | - | |
120 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
121 | 119 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | | - | |
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
150 | | - | |
| 150 | + | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
174 | 173 | | |
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
178 | | - | |
| 177 | + | |
179 | 178 | | |
180 | 179 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
| 53 | + | |
55 | 54 | | |
56 | 55 | | |
57 | 56 | | |
| |||
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
64 | | - | |
65 | 63 | | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
81 | 77 | | |
82 | 78 | | |
83 | 79 | | |
84 | 80 | | |
85 | | - | |
86 | 81 | | |
87 | 82 | | |
88 | | - | |
89 | | - | |
| 83 | + | |
| 84 | + | |
90 | 85 | | |
91 | 86 | | |
92 | | - | |
93 | | - | |
| 87 | + | |
94 | 88 | | |
95 | 89 | | |
96 | 90 | | |
97 | 91 | | |
98 | | - | |
99 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
100 | 95 | | |
101 | 96 | | |
102 | 97 | | |
| |||
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | | - | |
115 | | - | |
116 | | - | |
| 109 | + | |
117 | 110 | | |
118 | 111 | | |
119 | 112 | | |
| |||
128 | 121 | | |
129 | 122 | | |
130 | 123 | | |
131 | | - | |
0 commit comments