mirror of
https://github.com/apache/nuttx.git
synced 2026-09-20 21:06:58 +08:00
Fix a badly applied patch (actually, non-applied because --dry-run was set)
This commit is contained in:
@@ -1085,7 +1085,7 @@ retry:
|
||||
{
|
||||
/* Mark this entry as released */
|
||||
|
||||
hdr.flags = (uint8_t~MTD_ERASED_FLAGS;
|
||||
hdr.flags = (uint8_t)~MTD_ERASED_FLAGS;
|
||||
mtdconfig_writebytes(dev, offset, &hdr.flags, sizeof(hdr.flags));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user