From dd56f59577aece368646fd74473ce77fbac0f65a Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Wed, 6 Jan 2016 01:05:18 -0800 Subject: [PATCH] SS pin back to output --- src/tmc2660.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tmc2660.c b/src/tmc2660.c index 33e40af..ddc1e9c 100644 --- a/src/tmc2660.c +++ b/src/tmc2660.c @@ -233,7 +233,7 @@ void tmc2660_init() { // Setup pins // Must set the SS pin either in/high or any/output for master mode to work TMC2660_SPI_PORT.OUTSET = 1 << TMC2660_SPI_SS_PIN; // High - TMC2660_SPI_PORT.DIRCLR = 1 << TMC2660_SPI_SS_PIN; // Input + TMC2660_SPI_PORT.DIRSET = 1 << TMC2660_SPI_SS_PIN; // Output TMC2660_SPI_PORT.OUTSET = 1 << TMC2660_SPI_SCK_PIN; // High TMC2660_SPI_PORT.DIRSET = 1 << TMC2660_SPI_SCK_PIN; // Output -- 2.27.0