refactor for streamlining
This commit is contained in:
@@ -1,20 +1,3 @@
|
||||
# 03 - Ownership and Borrowing (7 min)
|
||||
|
||||
## Goal
|
||||
# 03 - Ownership and Borrowing
|
||||
|
||||
Ownership und Borrowing an einem kleinen Robot-State praktisch verstehen.
|
||||
|
||||
## Run
|
||||
|
||||
- `bash scripts/run-step.sh 03 task`
|
||||
|
||||
## Tasks
|
||||
|
||||
1. Lies die Funktionen mit `&RobotState` und `&mut RobotState`.
|
||||
2. Ergänze die TODOs in der Task-Datei.
|
||||
3. Achte auf Compiler-Fehler, wenn mutable/immutable borrows kollidieren.
|
||||
|
||||
## Done when
|
||||
|
||||
1. Das Programm kompiliert.
|
||||
2. LED-State, Button-Count und ADC-Wert werden korrekt aktualisiert.
|
||||
|
||||
Reference in New Issue
Block a user