Skip to content

sdram.h gets duplicate class SDRAMClass if included twice #808

@dav322

Description

@dav322

file path on my machine is:
C:\Users\david\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.10\libraries\Portenta_SDRAM\src\SDRAM.h
need to add
#ifndef sdramh
#define sdramh
at beginning of file
and
#endif
at end of file

To reproduce
include "sdram.h" twice

Expected behavior
not generate linker error

Arduino IDE version 2.2.1 updated to nightly build 12/14/2023

Operating system
Windows

Operating system version
windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    M7bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy