mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 16:23:56 -04:00
AP_Semaphore_test: bugfix to extern semaphore, add Makefile for builds.
This commit is contained in:
parent
a28099b04c
commit
fd5106db02
@ -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);
|
||||||
|
|
||||||
|
@ -0,0 +1,2 @@
|
|||||||
|
BOARD = mega2560
|
||||||
|
include ../../../AP_Common/Arduino.mk
|
Loading…
Reference in New Issue
Block a user