summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2022-03-14 21:03:08 +0100
committerJF <JF002@users.noreply.github.com>2022-03-21 20:53:15 +0100
commitf973f1c12c5f82ddacfdaca29fbe1043d94313ee (patch)
tree936bdca00b6d76aa1b549749a971392a0676a949
parentdf61907073fab7d4c2f9595c7771e894a3841b65 (diff)
Add missing space in if expression.
-rw-r--r--src/components/ble/MusicService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/MusicService.cpp b/src/components/ble/MusicService.cpp
index 7b74ac2e..0e53b9cb 100644
--- a/src/components/ble/MusicService.cpp
+++ b/src/components/ble/MusicService.cpp
@@ -128,7 +128,7 @@ int Pinetime::Controllers::MusicService::OnCommand(uint16_t conn_handle, uint16_
if (ctxt->op == BLE_GATT_ACCESS_OP_WRITE_CHR) {
size_t notifSize = OS_MBUF_PKTLEN(ctxt->om);
- if(notifSize > MaxStringSize) {
+ if (notifSize > MaxStringSize) {
notifSize = MaxStringSize;
}