From 9f4353b24fcf7ede3269e77f9711243631b5dbeb Mon Sep 17 00:00:00 2001 From: Seungpyo1007 Date: Sat, 14 Nov 2026 00:00:03 +0900 Subject: [PATCH] fix(data/cpu): store two fractional TDP values as whole watts tdp_w is an integer field in the API schema. Pentium 3561Y (11.5 W) and AMD Z-01 (5.9 W) were added with fractional values, which the API serialiser rejects; they are rounded to 12 and 6. --- data/cpu/amd/2011/consumer/z-01.json | 2 +- data/cpu/intel/2013/consumer/pentium-3561y.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/cpu/amd/2011/consumer/z-01.json b/data/cpu/amd/2011/consumer/z-01.json index 3abfa6347be4..fe7e25d60a3e 100644 --- a/data/cpu/amd/2011/consumer/z-01.json +++ b/data/cpu/amd/2011/consumer/z-01.json @@ -14,7 +14,7 @@ "base_clock_ghz": 1.0, "boost_clock_ghz": null, "l3_cache_mb": null, - "tdp_w": 5.9, + "tdp_w": 6, "max_tdp_w": null, "integrated_graphics": null, "memory_support": null, diff --git a/data/cpu/intel/2013/consumer/pentium-3561y.json b/data/cpu/intel/2013/consumer/pentium-3561y.json index 36cd1e589714..9fcf56770209 100644 --- a/data/cpu/intel/2013/consumer/pentium-3561y.json +++ b/data/cpu/intel/2013/consumer/pentium-3561y.json @@ -14,7 +14,7 @@ "base_clock_ghz": 1.2, "boost_clock_ghz": null, "l3_cache_mb": 2.0, - "tdp_w": 11.5, + "tdp_w": 12, "max_tdp_w": null, "integrated_graphics": null, "memory_support": null,