sketch/lora_handler.cpp: In function 'int8_t initLoRaWan()':
lora_handler.cpp:137:86: error: too many arguments to function 'lmh_error_status lmh_init(lmh_callback_t*, lmh_param_t, bool, eDeviceClass)'
137 | if (lmh_init(&lora_callbacks, lora_param_init, doOTAA, gCurrentClass, gCurrentRegion) != 0)
| ^
In file included from /home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/LoRaWan-Arduino.h:17,
from /home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/LoRaWan-RAK4630.h:4,
from sketch/main.h:14,
from sketch/lora_handler.cpp:11:
/home/jpmeijers/Arduino/libraries/SX126x-Arduino/src/mac/LoRaMacHelper.h:146:19: note: declared here
146 | lmh_error_status lmh_init(lmh_callback_t *callbacks, lmh_param_t lora_param, bool otaa, eDeviceClass nodeClass = CLASS_A);
| ^~~~~~~~
exit status 1
too many arguments to function 'lmh_error_status lmh_init(lmh_callback_t*, lmh_param_t, bool, eDeviceClass)'