diff --git a/build-number.txt b/build-number.txt index 08f851b..2596e4a 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -519 +520 diff --git a/src/ltp1245.c b/src/ltp1245.c index 56cb301..7454508 100644 --- a/src/ltp1245.c +++ b/src/ltp1245.c @@ -329,8 +329,6 @@ void SysTick_Handler(void) const int GPIO_MASK = ((1 << PIN_STEPPER_AM) | (1 << PIN_STEPPER_AP) | (1 << PIN_STEPPER_BM) | (1 << PIN_STEPPER_BP)); - GPIOC->BRR = (1 << PIN_LED); - if(Stepper_Delta != 0) { off = false; @@ -366,8 +364,6 @@ void SysTick_Handler(void) } AdvanceStateMachine(); - - GPIOC->BSRR = (1 << PIN_LED); } void ADC1_2_IRQHandler(void) diff --git a/src/main.c b/src/main.c index c5d924a..9a561fe 100644 --- a/src/main.c +++ b/src/main.c @@ -5,9 +5,7 @@ int main(void) RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; GPIOC->CRH = (GPIOC->CRH - & ~(0x0f << (4 * PIN_LED - 32)) & ~(0x0f << (4 * PIN_SUPPLY - 32))) - | (0x01 << (4 * PIN_LED - 32)) // Output, max. 10 MHz | (0x01 << (4 * PIN_SUPPLY - 32)) // Output, max. 10 MHz ; diff --git a/src/ov7670.c b/src/ov7670.c index 12cd17f..f1593c6 100644 --- a/src/ov7670.c +++ b/src/ov7670.c @@ -308,9 +308,6 @@ void Camera_Init(void) void TIM1_CC_IRQHandler(void) { // VSYNC - - // GPIOC->BRR = (1 << PIN_LED); - LineCount = CurrentLine; CurrentLine = 0; FrameCount++; @@ -335,8 +332,6 @@ void TIM1_CC_IRQHandler(void) // Dummy read TIM1->CCR2; TIM1->SR &= ~TIM_SR_CC2IF; - - // GPIOC->BSRR = (1 << PIN_LED); } void TIM3_IRQHandler(void) @@ -431,4 +426,4 @@ void TIM3_IRQHandler(void) // Dummy read TIM3->CCR2; TIM3->SR &= ~TIM_SR_CC2IF; -} \ No newline at end of file +} diff --git a/src/pinning.h b/src/pinning.h index 4f2b300..2651ef1 100644 --- a/src/pinning.h +++ b/src/pinning.h @@ -33,5 +33,4 @@ #define PIN_DIN 15 // PB15 - Thermal printer MOSI (SPI2) // Port C -#define PIN_LED 13 // PC13 - Status LED #define PIN_SUPPLY 14 // PC14 - Voltage regulator enable