Power signal control definitions for ATX and others

This commit is contained in:
Nicolas Rossi
2013-01-07 14:33:30 +01:00
parent 3a1cd30ce1
commit f3c1fc70a9
3 changed files with 23 additions and 2 deletions

View File

@ -241,6 +241,23 @@ const unsigned int dropsegments=5; //everything with less than this number of st
#ifdef ULTIPANEL
#undef SDCARDDETECTINVERTED
#endif
// Power Signal Control Definitions
// By default use ATX definition
#ifndef POWER_SUPPLY
#define POWER_SUPPLY 1
#endif
// 1 = ATX
#if (POWER_SUPPLY == 1)
#define PS_ON_AWAKE LOW
#define PS_ON_ASLEEP HIGH
#endif
// 2 = X-Box 360 203W
#if (POWER_SUPPLY == 2)
#define PS_ON_AWAKE HIGH
#define PS_ON_ASLEEP LOW
#endif
//===========================================================================
//=============================Buffers ============================
//===========================================================================