From 26209772e79fea32e443104c817c8bb345ea6fed Mon Sep 17 00:00:00 2001 From: Stefan Rupp Date: Tue, 18 Mar 2014 01:14:19 +0100 Subject: [PATCH] remove old port definitions and fix missing include --- led1642gw.c | 15 --------------- rgbyteclock.c | 6 +----- rgbyteclock.h | 2 +- 3 files changed, 2 insertions(+), 21 deletions(-) diff --git a/led1642gw.c b/led1642gw.c index dd7162b..19de748 100644 --- a/led1642gw.c +++ b/led1642gw.c @@ -45,35 +45,26 @@ static void write_data(uint16_t data, uint8_t le_clocks) { uint16_t mask = 0x8000; int8_t bit; - //PORTC &= ~(1<=le_clocks; bit--) { - //PORTC &= ~(1<>= 1; } - //PORTC |= (1<=0; bit--) { - //PORTC &= ~(1<>= 1; } - //PORTC &= ~(1< - +#include "ledcontroller.h" void rgbyteclock(void);