ogl_beamforming

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

Commit: 96d6e6d05fad59e9b19d5fd455c00c9293bdd3ec
Parent: a490319548ae165bd9ad3eae10e2d680bec60aa7
Author: Randy Palamar
Date:   Mon,  5 May 2025 22:22:57 -0600

main_linux: fix hardcoded 2 fds in poll() call

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

diff --git a/main_linux.c b/main_linux.c @@ -93,7 +93,7 @@ main(void) fds[0].events = POLLIN; while (!ctx.should_exit) { - poll(fds, 2, 0); + poll(fds, countof(fds), 0); if (fds[0].revents & POLLIN) dispatch_file_watch_events(&ctx.os, temp_memory);