shithub: m8c

Download patch

ref: 15fdd8e0a6862df8ae183cb3821d01758920343a
parent: 9c83bd814f629c0e809ccd52aa50cc1995be0cc4
author: Jorge Molero <jmolerocalafell@gmail.com>
date: Fri Mar 22 17:57:22 EDT 2024

Fix: linter warning because of argument use

--- a/src/main.c
+++ b/src/main.c
@@ -88,7 +88,7 @@
     // try to init serial port
     int port_inited = init_serial(1);
     // if port init was successful, try to enable and reset display
-    if (port_inited == 1 && enable_and_reset_display(0) == 1) {
+    if (port_inited == 1 && enable_and_reset_display() == 1) {
       // if audio routing is enabled, try to initialize audio devices
       if (conf.audio_enabled == 1) {
         audio_init(conf.audio_buffer_size, conf.audio_device_name);
--