Skip to content

Commit ab7998d

Browse files
committed
storage: remove debug and fix EEPROM on UNO
1 parent 0500256 commit ab7998d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

libraries/BlockDevices/BlockDevice.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,14 @@
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1818
*/
1919

20+
#ifdef ARDUINO_PORTENTA_C33
21+
2022
#include <QSPIFlashBlockDevice.h>
2123

2224
BlockDevice *BlockDevice::get_default_instance()
2325
{
2426
static QSPIFlashBlockDevice default_bd(PIN_QSPI_CLK, PIN_QSPI_SS, PIN_QSPI_D0, PIN_QSPI_D1, PIN_QSPI_D2, PIN_QSPI_D3);
2527
return &default_bd;
2628
}
29+
30+
#endif

libraries/Storage/storage_common.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
extern "C" {
1010
#endif
1111

12-
#define STORAGE_DEBUG
13-
#define STORAGE_ASSERT
12+
//#define STORAGE_DEBUG
13+
//#define STORAGE_ASSERT
1414

1515

1616

0 commit comments

Comments
 (0)