From 84d3f679c265d8d37afaccbea3c252de73a83dfb Mon Sep 17 00:00:00 2001 From: BlackMark Date: Thu, 23 Jul 2026 01:13:51 +0200 Subject: [PATCH] style: clang-format the W-fix line Layout only, byte-identical output. Co-Authored-By: Claude Opus 4.8 (1M context) --- libavr | 2 +- pureboot/pureboot.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavr b/libavr index 57dbe76..ee205b2 160000 --- a/libavr +++ b/libavr @@ -1 +1 @@ -Subproject commit 57dbe76b1baae0da4cc88806767a6680d0bf190f +Subproject commit ee205b29af6c1c6c1246a1640230f6f302157a11 diff --git a/pureboot/pureboot.cpp b/pureboot/pureboot.cpp index 396c2e0..5288d08 100644 --- a/pureboot/pureboot.cpp +++ b/pureboot/pureboot.cpp @@ -321,8 +321,7 @@ void program_flash(std::uint16_t wire_address, std::uint8_t slot_high) // A page is aligned, so it never crosses 64 KiB: RAMPZ is a per-page // constant and the 16-bit Z's low byte is the whole in-page offset. const std::uint8_t rampz = static_cast(wire_address >> 15); - const std::uint16_t z0 = - static_cast(wire_address << 1) & ~static_cast(page - 1); + const std::uint16_t z0 = static_cast(wire_address << 1) & ~static_cast(page - 1); std::uint16_t z = z0; do { std::uint8_t low = link::rx();