style: clang-format the W-fix line

Layout only, byte-identical output.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-23 01:13:51 +02:00
parent b5020a1e20
commit 84d3f679c2
2 changed files with 2 additions and 3 deletions

2
libavr

Submodule libavr updated: 57dbe76b1b...ee205b29af

View File

@@ -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<std::uint8_t>(wire_address >> 15);
const std::uint16_t z0 =
static_cast<std::uint16_t>(wire_address << 1) & ~static_cast<std::uint16_t>(page - 1);
const std::uint16_t z0 = static_cast<std::uint16_t>(wire_address << 1) & ~static_cast<std::uint16_t>(page - 1);
std::uint16_t z = z0;
do {
std::uint8_t low = link::rx();