From d09a06a1b354760fd0e64a453abade972900e885 Mon Sep 17 00:00:00 2001
From: Ryan <fauxpark@gmail.com>
Date: Fri, 3 May 2024 15:21:29 +1000
Subject: Update GPIO API usage in keyboard code (#23361)

---
 keyboards/mlego/m48/m48.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'keyboards/mlego/m48')

diff --git a/keyboards/mlego/m48/m48.h b/keyboards/mlego/m48/m48.h
index 5acc5c4590..1d183bbd6d 100644
--- a/keyboards/mlego/m48/m48.h
+++ b/keyboards/mlego/m48/m48.h
@@ -21,18 +21,18 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 static inline void led_lwr(const bool on) {
 #ifdef LED_NUM_LOCK_PIN
-    writePin(LED_NUM_LOCK_PIN, on);
+    gpio_write_pin(LED_NUM_LOCK_PIN, on);
 #endif
 }
 
 static inline void led_rse(const bool on) {
 #ifdef LED_SCROLL_LOCK_PIN
-    writePin(LED_SCROLL_LOCK_PIN, on);
+    gpio_write_pin(LED_SCROLL_LOCK_PIN, on);
 #endif
 }
 static inline void led_caps(const bool on) {
 #ifdef LED_CAPS_LOCK_PIN
-    writePin(LED_CAPS_LOCK_PIN, !on);
+    gpio_write_pin(LED_CAPS_LOCK_PIN, !on);
 #endif
 }
 
-- 
cgit v1.2.3