fix: update comment to clarify NVS reading process
This commit is contained in:
parent
a16c05287e
commit
a0b8639488
@ -55,7 +55,7 @@ uint8_t start_scale() {
|
|||||||
Serial.println("Prüfe Calibration Value");
|
Serial.println("Prüfe Calibration Value");
|
||||||
long calibrationValue;
|
long calibrationValue;
|
||||||
|
|
||||||
// NVS
|
// NVS lesen
|
||||||
preferences.begin(NVS_NAMESPACE, true); // true = readonly
|
preferences.begin(NVS_NAMESPACE, true); // true = readonly
|
||||||
calibrationValue = preferences.getLong(NVS_KEY_CALIBRATION, defaultScaleCalibrationValue);
|
calibrationValue = preferences.getLong(NVS_KEY_CALIBRATION, defaultScaleCalibrationValue);
|
||||||
preferences.end();
|
preferences.end();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user