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 a28099b04c
commit fd5106db02
2 changed files with 3 additions and 1 deletions

View File

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

View File

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