Defines for electronics boards

Added boards.h which contains defines for all the board numbers, plus
some shorthand macros for less typing.
This commit is contained in:
Scott Lahteine
2014-12-18 12:02:36 -08:00
parent a9c334e8bc
commit 0e23105e1e
9 changed files with 197 additions and 227 deletions

View File

@@ -768,7 +768,7 @@ return(filament_width_nominal/temp*100);
void tp_init()
{
#if (MOTHERBOARD == 80) && ((TEMP_SENSOR_0==-1)||(TEMP_SENSOR_1==-1)||(TEMP_SENSOR_2==-1)||(TEMP_SENSOR_BED==-1))
#if MB(RUMBA) && ((TEMP_SENSOR_0==-1)||(TEMP_SENSOR_1==-1)||(TEMP_SENSOR_2==-1)||(TEMP_SENSOR_BED==-1))
//disable RUMBA JTAG in case the thermocouple extension is plugged on top of JTAG connector
MCUCR=(1<<JTD);
MCUCR=(1<<JTD);