From 769817ce5ec5f3c4bf227a9aca21e273a4177e88 Mon Sep 17 00:00:00 2001
From: jaysonkelly <jaysonkelly@gmail.com>
Date: Thu, 27 Apr 2017 09:58:46 -0600
Subject: [PATCH] Need to define this for Rigidboard V2

Motor current defaults need to be defined for Rigidboard
---
 Marlin/pins_RIGIDBOARD_V2.h | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Marlin/pins_RIGIDBOARD_V2.h b/Marlin/pins_RIGIDBOARD_V2.h
index 3fb575142b..dfac7051d5 100644
--- a/Marlin/pins_RIGIDBOARD_V2.h
+++ b/Marlin/pins_RIGIDBOARD_V2.h
@@ -32,8 +32,10 @@
 //
 // Steppers
 //
+
 // I2C based DAC like on the Printrboard REVF
 #define DAC_STEPPER_CURRENT
+
 // Channels available for DAC, For Rigidboard there are 4
 #define DAC_STEPPER_ORDER { 0, 1, 2, 3 }
 
@@ -44,3 +46,7 @@
 #define DAC_STEPPER_GAIN     1 // value of 1 here sets gain of 2
 #define DAC_DISABLE_PIN     42 // set low to enable DAC
 #define DAC_OR_ADDRESS    0x01
+
+#ifndef DAC_MOTOR_CURRENT_DEFAULT
+  #define DAC_MOTOR_CURRENT_DEFAULT { 70, 80, 90, 80 } // Default drive percent - X, Y, Z, E axis
+#endif
-- 
GitLab