lib/max17048: Correct typo in name

Change-Id: Ib478496851e06a10dbeb4767d13f936d4c307c4b
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/kudzu/+/191870
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Anthony DiGirolamo <tonymd@google.com>
Reviewed-by: Erik Gilling <konkers@google.com>
diff --git a/applications/app_common_impl/BUILD.gn b/applications/app_common_impl/BUILD.gn
index 2a54966..6b24ad6 100644
--- a/applications/app_common_impl/BUILD.gn
+++ b/applications/app_common_impl/BUILD.gn
@@ -78,7 +78,7 @@
   "//lib/ft6236",
   "//lib/icm42670p",
   "//lib/kudzu_imu_icm42670p",
-  "//lib/max17948",
+  "//lib/max17048",
   "//lib/tca9535",
 ]
 
diff --git a/applications/app_common_impl/common_pico.cc b/applications/app_common_impl/common_pico.cc
index 582e48e..3e746ff 100644
--- a/applications/app_common_impl/common_pico.cc
+++ b/applications/app_common_impl/common_pico.cc
@@ -25,7 +25,7 @@
 #include "hardware/vreg.h"
 #include "icm42670p/device.h"
 #include "kudzu_imu_icm42670p/imu.h"
-#include "max17948/device.h"
+#include "max17048/device.h"
 #include "pico/stdlib.h"
 #include "pw_digital_io_rp2040/digital_io.h"
 #include "pw_i2c_rp2040/initiator.h"
@@ -249,7 +249,7 @@
 
 pw::tca9535::Device io_expander(i2c1_bus);
 kudzu::icm42670p::Device imu(i2c0_bus);
-pw::max17948::Device fuel_guage(i2c0_bus);
+pw::max17048::Device fuel_guage(i2c0_bus);
 pw::ft6236::Device touch_screen_controller(i2c0_bus);
 
 static constexpr size_t kDisplayDrawThreadStackWords = 512;
diff --git a/lib/max17948/BUILD.gn b/lib/max17048/BUILD.gn
similarity index 93%
rename from lib/max17948/BUILD.gn
rename to lib/max17048/BUILD.gn
index c9b06cf..6d0f877 100644
--- a/lib/max17948/BUILD.gn
+++ b/lib/max17048/BUILD.gn
@@ -19,13 +19,13 @@
   include_dirs = [ "public" ]
 }
 
-pw_source_set("max17948") {
+pw_source_set("max17048") {
   public_configs = [ ":default_config" ]
   public_deps = [
     "$dir_pw_i2c:initiator",
     "$dir_pw_status",
   ]
-  public = [ "public/max17948/device.h" ]
+  public = [ "public/max17048/device.h" ]
   deps = [
     "$dir_pw_digital_io",
     "$dir_pw_i2c:register_device",
diff --git a/lib/max17948/device.cc b/lib/max17048/device.cc
similarity index 92%
rename from lib/max17948/device.cc
rename to lib/max17048/device.cc
index 9d38875..c6cf431 100644
--- a/lib/max17948/device.cc
+++ b/lib/max17048/device.cc
@@ -12,13 +12,13 @@
 // License for the specific language governing permissions and limitations under
 // the License.
 
-#include "max17948/device.h"
+#include "max17048/device.h"
 
 #include <chrono>
 #include <cstddef>
 #include <cstdint>
 
-#define PW_LOG_MODULE_NAME "max17948"
+#define PW_LOG_MODULE_NAME "max17048"
 #define PW_LOG_LEVEL PW_LOG_LEVEL_DEBUG
 
 #include "pw_bytes/bit.h"
@@ -30,7 +30,7 @@
 using ::pw::Status;
 using namespace std::chrono_literals;
 
-namespace pw::max17948 {
+namespace pw::max17048 {
 
 namespace {
 
@@ -70,9 +70,9 @@
       kAddress, pw::chrono::SystemClock::for_at_least(10ms)));
 
   if (probe_result != pw::OkStatus()) {
-    PW_LOG_DEBUG("MAX17948 Probe Failed");
+    PW_LOG_DEBUG("MAX17048 Probe Failed");
   } else {
-    PW_LOG_DEBUG("MAX17948 Probe Ok");
+    PW_LOG_DEBUG("MAX17048 Probe Ok");
   }
   return probe_result;
 }
@@ -96,4 +96,4 @@
   FuelReadReg(device_, 0x1a, "STATUS");
 }
 
-}  // namespace pw::max17948
+}  // namespace pw::max17048
diff --git a/lib/max17948/public/max17948/device.h b/lib/max17048/public/max17048/device.h
similarity index 94%
rename from lib/max17948/public/max17948/device.h
rename to lib/max17048/public/max17048/device.h
index 6f21234..6ec56f7 100644
--- a/lib/max17948/public/max17948/device.h
+++ b/lib/max17048/public/max17048/device.h
@@ -21,7 +21,7 @@
 #include "pw_i2c/register_device.h"
 #include "pw_status/status.h"
 
-namespace pw::max17948 {
+namespace pw::max17048 {
 
 class Device {
  public:
@@ -37,4 +37,4 @@
   pw::i2c::RegisterDevice device_;
 };
 
-}  // namespace pw::max17948
+}  // namespace pw::max17048