[X9D] Lighter grey on main views, USB icon working, power driver

This commit is contained in:
bernet.andre@gmail.com
2013-03-13 08:48:22 +00:00
parent d92f6d4978
commit caaf6db7ad
10 changed files with 29 additions and 7 deletions
+6
View File
@@ -43,6 +43,7 @@ extern "C" {
uint8_t temperature = 0; // Raw temp reading
uint8_t maxTemperature = 0 ; // Raw temp reading
volatile uint32_t Tenms ; // TODO to remove everywhere / use a #define
uint8_t usb_connected = 0;
#define PIN_MODE_MASK 0x0003
#define PIN_INPUT 0x0000
@@ -106,6 +107,11 @@ void configure_pins( uint32_t pins, uint16_t config )
}
#endif
uint8_t usbPlugged(void)
{
return usb_connected;
}
#if defined(DEBUG)
void debugPutc(const char c)
{