diff --git a/Makefile b/Makefile index 8687356..35d4828 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ # GCC 8.2 CC= msp430-elf-gcc -mmcu=rf430frl152h -Wall \ -Wno-unused-but-set-variable \ - -I. -I/home/runner/msp430-gcc/include -Os -Wl,--no-gc-sections -nostartfiles + -I. -I/home/runner/msp430-gcc/include -Os -Wl,--no-gc-sections APPS = tcg_counter.txt timer_register.txt timer_a0_vector.txt main.txt diff --git a/main.c b/main.c index 2b8f537..f1af971 100644 --- a/main.c +++ b/main.c @@ -91,7 +91,7 @@ int main(void) DeviceInit(); // set output direction - P1DIR |= BIT0 & BIT1; + P1DIR |= BIT0 | BIT1; while (1) {