From 000257079153dd49c45f7a0c1a801079f8cded09 Mon Sep 17 00:00:00 2001 From: Andrey Date: Sun, 19 Dec 2021 23:17:17 -0500 Subject: [PATCH] 2 byte table axis #3045 --- firmware/util/efilib.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/util/efilib.h b/firmware/util/efilib.h index 3141df2c7c..55598f8b72 100644 --- a/firmware/util/efilib.h +++ b/firmware/util/efilib.h @@ -139,8 +139,8 @@ constexpr void clear(T& obj) { /** * Copies an array from src to dest. The lengths of the arrays must match. */ -template -constexpr void copyArray(TElement (&dest)[N], const TElement (&src)[N]) { +template +constexpr void copyArray(DElement (&dest)[N], const SElement (&src)[N]) { for (size_t i = 0; i < N; i++) { dest[i] = src[i]; }