If the SD card is going to stay in the design, log errors and other status info there, either always or as an option.
Drop the lora_debug() code.
Or, change the lora_debug code to send error messages as part of this redesign. The status/error log to the SD card could be augmented with option lora_debug messages using the text message type. The lora_debug() calls should only send error messages.
If the SD card is going to stay in the design, log errors and other status info there, either always or as an option.
Drop the lora_debug() code.
Or, change the lora_debug code to send error messages as part of this redesign. The status/error log to the SD card could be augmented with option lora_debug messages using the
textmessage type. The lora_debug() calls should only send error messages.