From 09b443bf2dc2139976cde757f0e7112162043193 Mon Sep 17 00:00:00 2001 From: frankdrn <84046408+frankdrn@users.noreply.github.com> Date: Sat, 5 Jun 2021 09:04:34 +0100 Subject: [PATCH] Update breakout_roundlcd.cpp --- micropython/modules/breakout_roundlcd/breakout_roundlcd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/micropython/modules/breakout_roundlcd/breakout_roundlcd.cpp b/micropython/modules/breakout_roundlcd/breakout_roundlcd.cpp index 3f970b37..3bb64895 100644 --- a/micropython/modules/breakout_roundlcd/breakout_roundlcd.cpp +++ b/micropython/modules/breakout_roundlcd/breakout_roundlcd.cpp @@ -394,7 +394,7 @@ mp_obj_t BreakoutRoundLCD_character(size_t n_args, const mp_obj_t *pos_args, mp_ breakout_roundlcd_BreakoutRoundLCD_obj_t *self = MP_OBJ_TO_PTR2(args[ARG_self].u_obj, breakout_roundlcd_BreakoutRoundLCD_obj_t); int c = mp_obj_get_int(args[ARG_char].u_obj); - int x = args[ARG_y].u_int; + int x = args[ARG_x].u_int; int y = args[ARG_y].u_int; Point p(x, y); @@ -523,4 +523,4 @@ mp_obj_t BreakoutRoundLCD_line(size_t n_args, const mp_obj_t *pos_args, mp_map_t return mp_const_none; } -} \ No newline at end of file +}