Refactor: Split up sensor.c

Aperta
#159 0 commenti 0 reazioni 2 assegnatari Vedi su GitHub

@ETSells ci sta già lavorando.

Dal 28/10/2026.

  • #173 di @ETSells — aperta

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
c
Ambito
embedded-iot

Direzione di ricerca

Start by reading sensor.c alongside its header and listing every exported function, then compare that list against the driver and app-layer modules named in the issue. The header is flagged as the main complication, so decide which declarations move with their implementation before editing. Done means sensor.c no longer lives in mod, its functions sit in driver or the app layer, and the build still links; rev 3 platform-specific sensor functions should then be possible.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

advanced refactor

Version: v2.8.0 && v3.0.0

Describe the feature you'd like
The sensor module in its current form has no place living in mod based on our idea of what the library should be.

Image

Many of these functions belong in driver, and others should live in the app layer.

Some subject matter expert should make an effort to move functions to their truly correct locations. The header is going to be the biggest complication, I expect, but that's not a huge deal.

This will also allow us to implement platform-specific versions of sensor functions on rev 3.

Describe alternatives you've considered
Leaving as-is.

Additional context
N/A

Points of Contact
Mod maintainer for v2.8.0 and beyond: @NArmistead
Additional SME: @ETSells

Lingua principale
C
Stelle
4
Fork
2
Merge medio
5g 2h
PR unite (30g)
6

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di SunDevilRocketry/mod

Tutte le issue di SunDevilRocketry/mod

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.