AP_Semaphore_test: bugfix to extern semaphore, add Makefile for builds.

This commit is contained in:
Pat Hickey 2012-10-09 10:55:50 -07:00
parent 5796ee91ca
commit dfcbb6d9e9
2 changed files with 3 additions and 1 deletions

View File

@ -42,7 +42,7 @@ void loop(void)
bool ret;
// quick test of spi semaphore
ret = AP_Semaphore_spi.get(&dummy3);
ret = AP_Semaphore_spi3.get(&dummy3);
Serial.print("dummy3 gets SPI semaphore: ");
print_true_false(ret);

View File

@ -0,0 +1,2 @@
BOARD = mega2560
include ../../../AP_Common/Arduino.mk