From 850a11250a8c5b6825b080ff843f30fd68cb71f6 Mon Sep 17 00:00:00 2001 From: Andree Buschmann Date: Sun, 20 Apr 2008 18:28:25 +0000 Subject: Adding new setting to System Settings > 10; } + +#ifdef HAVE_ACCESSORY_SUPPLY +void accessory_supply_set(bool enable) +{ + if (enable) + { + /* Accessory voltage supply */ + pcf50605_write(PCF5060X_D2REGC1, 0xf8); /* 3.3V ON */ + } + else + { + /* Accessory voltage supply */ + pcf50605_write(PCF5060X_D2REGC1, 0x18); /* OFF */ + } + +} +#endif -- cgit v1.2.3