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 bd25e7393b
commit f83d0f2a68
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);