SPI Device with cgo
This commit is contained in:
parent
aa9ac10511
commit
42ddc404de
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
package rfm69
|
||||
|
||||
/*
|
||||
#include <linux/types.h>
|
||||
#include <linux/spi/spidev.h>
|
||||
|
||||
uint8_t mode=0;
|
||||
|
|
Loading…
Add table
Reference in a new issue