diff --git a/include/etl/format.h b/include/etl/format.h index b04f2ee5..80866178 100644 --- a/include/etl/format.h +++ b/include/etl/format.h @@ -1021,7 +1021,7 @@ namespace etl unsigned_value %= highest_digit; format_digit_char(it, digit, spec); - if ETL_CONSTEXPR17 (skip_last_zeros) + if ETL_IF_CONSTEXPR(skip_last_zeros) { if (unsigned_value == 0) {