arduino / arduino/ArduinoCore-samd

About file Wire.h

Open
#599 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
502
Forks
740
PR merge metrics
No merged PRs in 30d

Description

Hi
In file Wire.h, at line 76 there is:

// RX Buffer
arduino::RingBufferN<256> rxBuffer;

//TX buffer
arduino::RingBufferN<256> txBuffer;

I can compile without errors only if I change in:

// RX Buffer
RingBufferN<256> rxBuffer;

//TX buffer
RingBufferN<256> txBuffer;

I don't have enough experience to understand if this change is right or dangerous.

Thank you
Livio

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect Wire.h around line 76 and compare the qualified and unqualified buffer declarations with the surrounding namespace. Reproduce the reported compile failure using the original file, then verify which declaration builds correctly without changing buffer behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.