driver/storage/GD32Flash: Fix GD32Flash::commit

The commit method of the GD32Flash storage driver was accidentally left empty,
disabling the functionality. Call the parent's commit method to restore it.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1110/head
Gergely Nagy 3 years ago
parent 26c02a9a10
commit a5c11db084

@ -37,7 +37,9 @@ class GD32Flash: public EEPROMClass<_StorageProps::length> {
void setup() { void setup() {
EEPROMClass<_StorageProps::length>::begin(); EEPROMClass<_StorageProps::length>::begin();
} }
void commit() {} void commit() {
EEPROMClass<_StorageProps::length>::commit();
}
}; };
} // namespace storage } // namespace storage

Loading…
Cancel
Save