Fixed review comments

pull/880/head
Anders Lindvall 2015-01-21 10:22:02 +01:00
parent 6b0765c2fc
commit 4a2f3e00fe
2 changed files with 0 additions and 4 deletions

View File

@ -22,7 +22,6 @@ static const PinMap PinMap_I2C_SDA[] = {
{P0_0 , I2C_1, 3},
{P0_27, I2C_0, 1},
{P2_14, I2C_1, 2},
{P5_2, I2C_0, 5},
{NC , NC , 0}
};
@ -30,7 +29,6 @@ static const PinMap PinMap_I2C_SCL[] = {
{P0_1 , I2C_1, 3},
{P0_28, I2C_0, 1},
{P2_15, I2C_1, 2},
{P5_3, I2C_0, 5},
{NC , NC, 0}
};

View File

@ -28,7 +28,6 @@
* Clock Control Register
* RTC_CCR[0] : Enable - 0 = Disabled, 1 = Enabled
* RTC_CCR[1] : Reset - 0 = Normal, 1 = Reset
* RTC_CCR[4] : Clock Source - 0 = Prescaler, 1 = 32k Xtal
*
* The RTC may already be running, so we should set it up
* without impacting if it is the case
@ -37,7 +36,6 @@ void rtc_init(void) {
LPC_SC->PCONP |= 0x200; // Ensure power is on
LPC_RTC->CCR = 0x00;
// clock source on 2368 is special test mode on 1768!
LPC_RTC->CCR |= 1 << 0; // Ensure the RTC is enabled
}