From b7fc06ce5b843f47d6c5e6cc64b1542a54791472 Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sat, 15 Aug 2026 01:21:12 +0100 Subject: [PATCH] Fix string lengths to fit one line Signed-off-by: Markus Birth --- scenes/sonicare_scene_read_complete.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scenes/sonicare_scene_read_complete.c b/scenes/sonicare_scene_read_complete.c index ab17265..4374c82 100644 --- a/scenes/sonicare_scene_read_complete.c +++ b/scenes/sonicare_scene_read_complete.c @@ -44,17 +44,17 @@ void sonicare_scene_read_complete_on_enter(void* context) { const uint8_t brush_id = ul_data->page[0x1f].data[2]; const char* brush_names[] = { "Unknown brush: 0x00", - "Prem. Plaque Defence, Wt", - "Prem. Plaque Defence, Bk", + "Prem. Plaque Def., Wt", + "Prem. Plaque Defence, B", "Premium Gum Care, Wt", "Premium Gum Care, Bk", "Premium White, White", "Premium White, Black", - "Optimal Plaque Defence, W", + "Opt. Plaque Defence, Wt", "Optimal Gum Care, Wt", // 0x08 "Optimal White, White", "Optimal White, Black", - "Optimal White (small), W", + "Opt. White (small), Wt", "InterCare, White", "InterCare (small), Wt", "TongueCare+, White", @@ -69,6 +69,13 @@ void sonicare_scene_read_complete_on_enter(void* context) { }; int brush_names_max = sizeof(brush_names)/sizeof(brush_names[0]); + + /* DEBUG STRING LENGTHS + for (int i=0; i