AP_Semaphore_test: bugfix to extern semaphore, add Makefile for builds.
This commit is contained in:
parent
5796ee91ca
commit
dfcbb6d9e9
@ -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);
|
||||
|
||||
|
@ -0,0 +1,2 @@
|
||||
BOARD = mega2560
|
||||
include ../../../AP_Common/Arduino.mk
|
Loading…
Reference in New Issue
Block a user