LoRa.endPacket();freezes

Thanks srnet, I had not thought to check the LoRa shield pinout.

Pin 9 was used by Lora so I changed the pins to 15 and 16 and all works just fine.

Tx for your help