Merge "gpio-mailbox: fix case where no reset button is present"
diff --git a/gpio-mailbox/gpio-mailbox.c b/gpio-mailbox/gpio-mailbox.c
index 090bcb5..9956de7 100644
--- a/gpio-mailbox/gpio-mailbox.c
+++ b/gpio-mailbox/gpio-mailbox.c
@@ -372,7 +372,9 @@
     }
 
     int reset_button = 0;
-    (void) PinValue(handle, PIN_BUTTON_RESET, &reset_button);
+    if (has_reset_button) {
+      (void) PinValue(handle, PIN_BUTTON_RESET, &reset_button);
+    }
 
     if (now - last_print_time >= 6000) {
       if (has_fan) {