ErikZalm/Marlin — pull request #97 by Justblair (2012-03-03 16:39:12+00:00)
Title: Better solution for users of electronics with LCD front panels and Sd readers that don't detect inserted cards plus some more work on language.h

For Ramps users (and others no doubt) who want to design their own ultimaker style LCD/Rotary encoder front panels there can be a problem with the lack of SDCARDDETECT on their readers. My previous fix was to add a mechanical switch which worked OK but was a little cludgy.

A simpler and less parts intensive solution is to check to see if the SDCARDDETECT pin exists (if not it has a value of -1) and if it does not, upgrade the refresh menu item to re-initialise the SD card when it is selected. This allows users without SDCARDDETECT pins on their hardware to insert a card and print without the need for a restart. If you pre-heat the printer while you are compiling and loading your SD card this is a major improvement!

i have also worked more on bringing more text strings from warning messages and serial messages into the language.h file which should facilitate user customisation and language translations in the future. Still have to track down a few errant messages to finish this task.