Skip to content

Commit

Permalink
make it start on fruitjam, no usb love
Browse files Browse the repository at this point in the history
  • Loading branch information
jepler committed Feb 24, 2025
1 parent cb76498 commit a5cee34
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

#include "../../arduino_hooks.h"
#include "../../console.h"
#include "Adafruit_TinyUSB.h"
#include "pio_usb.h"
#include <Adafruit_TinyUSB.h>
#include <pio_usb.h>
#include <Adafruit_dvhstx.h>
#include <SdCard/SdSpiCard.h>
#include <SdFat.h>
Expand All @@ -19,7 +19,11 @@ Adafruit_USBH_Host USBHost;
#define SD_CS_PIN 39

SdFat SD;
#if defined(ADAFRUIT_METRO_RP2340)
SdSpiConfig config(SD_CS_PIN, DEDICATED_SPI, SD_SCK_MHZ(16), &SPI1);
#else
SdSpiConfig config(SD_CS_PIN, DEDICATED_SPI, SD_SCK_MHZ(16));
#endif

static bool start1;

Expand Down

0 comments on commit a5cee34

Please sign in to comment.