pw_sync_freertos: fix kCountingSemaphoreMaxValue constant

Change-Id: Ia2d4eccf34da39e378d8a734d226fb24a8507a76
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/35881
Reviewed-by: Wyatt Hepler <hepler@google.com>
Commit-Queue: Ewout van Bekkum <ewout@google.com>
diff --git a/pw_sync_freertos/public/pw_sync_freertos/counting_semaphore_native.h b/pw_sync_freertos/public/pw_sync_freertos/counting_semaphore_native.h
index 4e1f06f..8d6ba75 100644
--- a/pw_sync_freertos/public/pw_sync_freertos/counting_semaphore_native.h
+++ b/pw_sync_freertos/public/pw_sync_freertos/counting_semaphore_native.h
@@ -26,7 +26,7 @@
 };
 using NativeCountingSemaphoreHandle = NativeCountingSemaphore&;
 
-inline constexpr ptrdiff_t kBinarySemaphoreMaxValue =
+inline constexpr ptrdiff_t kCountingSemaphoreMaxValue =
     std::numeric_limits<ptrdiff_t>::max() <
             std::numeric_limits<UBaseType_t>::max()
         ? std::numeric_limits<ptrdiff_t>::max()