Commit 01698a9b authored by David Guibert's avatar David Guibert
Browse files

klipper: fix $mcu.serial guard when $mcu.enableKlipperFlash

This patch allows to set $mcu.canbus_uuid by setting
$mcu.enableKlipperFlash to false.
parent ffd468f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -217,7 +217,7 @@ in
      }
    ]
    ++ lib.mapAttrsToList (mcu: firmware: {
      assertion = firmware.enable -> firmware.serial != null;
      assertion = firmware.enableKlipperFlash -> firmware.serial != null;
      message = ''
        Unable to determine the serial connection for services.klipper.firmwares."${mcu}". Please set one of the following: