ogl_beamforming

Ultrasound Beamforming Implemented with OpenGL
git clone anongit@rnpnr.xyz:ogl_beamforming.git
Log | Files | Refs | Feed | Submodules | LICENSE

Commit: 0eda288152fa8f8d2fb383bd81b8625c3764d98c
Parent: 349bb27a6c672772a1148e859299bac79f5e218c
Author: Randy Palamar
Date:   Tue, 18 Mar 2025 19:32:28 -0600

util: invert error condition in stream_commit

Diffstat:
Mutil.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util.c b/util.c @@ -200,7 +200,7 @@ stream_reset(Stream *s, size index) static void stream_commit(Stream *s, size count) { - s->errors |= BETWEEN(s->widx + count, 0, s->cap); + s->errors |= !BETWEEN(s->widx + count, 0, s->cap); if (!s->errors) s->widx += count; }