Modified by ChatGPT for migration to microRecticulum_Firmware, not verified by me... yet, but I am preserving to document this stage.
This commit is contained in:
parent
1be5b59c7a
commit
432f17b2be
12 changed files with 188 additions and 162 deletions
|
|
@ -6,6 +6,7 @@
|
|||
#include <Arduino.h>
|
||||
#include <SPI.h>
|
||||
#include <SD.h>
|
||||
#include "Boards.h"
|
||||
|
||||
// Include microReticulum headers from your external tree
|
||||
#include "Identity.h"
|
||||
|
|
@ -24,8 +25,8 @@ static uint32_t g_iter = 0;
|
|||
static uint32_t g_next_tx = 0;
|
||||
static File g_log;
|
||||
|
||||
// TODO: replace with your board’s SD CS pin if not default
|
||||
static const int SD_CS_PIN = 10;
|
||||
// Source board pin mapping from microReticulum_Firmware board definitions.
|
||||
static const int SD_CS_PIN = SD_CS;
|
||||
|
||||
// Simple line logger (append-only)
|
||||
static void log_line(const String& line) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue