mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
bcm2835-utils: update to githash 02e3ffe
This commit is contained in:
parent
03aa6b3211
commit
7407b0a5f2
@ -2,8 +2,8 @@
|
||||
# Copyright (C) 2023-present Team LibreELEC (https://libreelec.tv)
|
||||
|
||||
PKG_NAME="bcm2835-utils"
|
||||
PKG_VERSION="e709cd6bc7b80646a99e8834eb872bd5189a3af9"
|
||||
PKG_SHA256="7627edf857d21d88037cf53b46fb87dd092ae5f0c7d823dc652e8143c4407288"
|
||||
PKG_VERSION="02e3ffeee7dc8f954271fd42a3ed983567c55eb4"
|
||||
PKG_SHA256="1b519e2cb24108c6f4d7e7ef0c046f9bcc92e68c53367a61913136a1096cd2fd"
|
||||
PKG_ARCH="arm aarch64"
|
||||
PKG_LICENSE="BSD-3-Clause"
|
||||
PKG_SITE="https://github.com/raspberrypi/utils"
|
||||
|
@ -1,28 +0,0 @@
|
||||
From c176592e36bb1ace8d5017df602b12acf132721e Mon Sep 17 00:00:00 2001
|
||||
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||
Date: Sun, 5 Jan 2025 23:49:42 +1100
|
||||
Subject: [PATCH] piolib: fixes may be used uninitialized
|
||||
|
||||
Fixes compile error:
|
||||
In function 'quadrature_encoder_get_count',
|
||||
inlined from 'main' at /build/bcm2835-utils/piolib/examples/quadrature_encoder.c:58:21:
|
||||
/build/bcm2835-utils/piolib/examples/quadrature_encoder.pio.h:106:12: error: 'ret' may be used uninitialized [-Werror=maybe-uninitialized]
|
||||
106 | return ret;
|
||||
| ^~~
|
||||
---
|
||||
piolib/examples/quadrature_encoder.pio.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/piolib/examples/quadrature_encoder.pio.h b/piolib/examples/quadrature_encoder.pio.h
|
||||
index eb15cb7..90991b0 100644
|
||||
--- a/piolib/examples/quadrature_encoder.pio.h
|
||||
+++ b/piolib/examples/quadrature_encoder.pio.h
|
||||
@@ -94,7 +94,7 @@ static inline void quadrature_encoder_program_init(PIO pio, uint sm, uint pin, i
|
||||
}
|
||||
static inline int32_t quadrature_encoder_get_count(PIO pio, uint sm)
|
||||
{
|
||||
- uint ret;
|
||||
+ uint ret = 0;
|
||||
int n;
|
||||
// if the FIFO has N entries, we fetch them to drain the FIFO,
|
||||
// plus one entry which will be guaranteed to not be stale
|
Loading…
x
Reference in New Issue
Block a user