Skip to content

Commit 0e8970c

Browse files
committed
altos/lambdakey-v1.0: Fix obvious build errors
The code is too large to run on this device at this point, but at least it doesn't fail to compile? Signed-off-by: Keith Packard <[email protected]>
1 parent 8d77d50 commit 0e8970c

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/lambdakey-v1.0/Makefile

+1-4
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,10 @@ bletch:
5555
all: $(PROG) $(HEX)
5656

5757
$(PROG): Makefile $(OBJ)
58-
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS)
58+
$(call quiet,CC) $(LDFLAGS) $(CFLAGS) -o $(PROG) $(OBJ) $(LIBS) -Wl,-M=$(PROGNAME).map
5959

6060
$(OBJ): $(INC)
6161

62-
ao_product.h: ao-make-product.5c ../Version
63-
$(call quiet,NICKLE,$<) $< -m altusmetrum.org -i $(IDPRODUCT) -p $(PRODUCT) -v $(VERSION) > $@
64-
6562
ao_scheme_const.h: ao-scheme-make-const ao_scheme_basic_syntax.scheme
6663
$^ -o $@ -d FLOAT,VECTOR,QUASI,BIGINT,POSIX,PORT,SAVE,UNDEF
6764

src/lambdakey-v1.0/ao_lambdakey.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <ao.h>
1616
#include <ao_scheme.h>
1717

18-
static void scheme_cmd() {
18+
static void scheme_cmd(void) {
1919
ao_scheme_read_eval_print(stdin, stdout, false);
2020
}
2121

@@ -43,7 +43,7 @@ _ao_scheme_getc(void)
4343
void main(void)
4444
{
4545
#ifdef LEDS_AVAILABLE
46-
ao_led_init(LEDS_AVAILABLE);
46+
ao_led_init();
4747
#endif
4848
ao_clock_init();
4949
ao_timer_init();

0 commit comments

Comments
 (0)