Few simple fixes that save RAM, as static strings are stored in RAM by default.

This commit is contained in:
daid303 committed 2012-11-28 10:30:34 +01:00
1 parent c94ca24adc
commit 97fa2a9c30
6 files changed
+36 -25

No files matched your search

+1 -1
View File
@@ -956,7 +956,7 @@ void quickStop()
ENABLE_STEPPER_DRIVER_INTERRUPT();
}
int digitalPotWrite(int address, int value) // From Arduino DigitalPotControl example
void digitalPotWrite(int address, int value) // From Arduino DigitalPotControl example
{
#if DIGIPOTSS_PIN > -1
digitalWrite(DIGIPOTSS_PIN,LOW); // take the SS pin low to select the chip