diff --git a/rfm69device.go b/rfm69device.go index 900d46a..9d1b7fe 100644 --- a/rfm69device.go +++ b/rfm69device.go @@ -37,11 +37,12 @@ type Data struct { // NewDevice creates a new device func NewDevice(spi *SPIDevice, gpio gpio.Pin, nodeID, networkID byte, isRfm69HW bool) (*Device, error) { ret := &Device{ - SpiDevice: spi, - gpio: gpio, - network: networkID, - address: nodeID, - isRFM69HW: isRfm69HW, + SpiDevice: spi, + gpio: gpio, + network: networkID, + address: nodeID, + isRFM69HW: isRfm69HW, + powerLevel: 31, } log.Println("before setup")