made sd code only compile with SDSUPPORT defined. safes 10k of codespace
This commit is contained in:
@ -17,6 +17,9 @@
|
||||
* along with the Arduino SdFat Library. If not, see
|
||||
* <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#include "Marlin.h"
|
||||
#ifdef SDSUPPORT
|
||||
|
||||
#include "SdVolume.h"
|
||||
//------------------------------------------------------------------------------
|
||||
#if !USE_MULTIPLE_CARDS
|
||||
@ -399,3 +402,4 @@ bool SdVolume::init(Sd2Card* dev, uint8_t part) {
|
||||
fail:
|
||||
return false;
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user