Code: Select all
diff --git a/os/xhal/codegen/hal_block_io.xml b/os/xhal/codegen/hal_block_io.xml
index 010995f2e..256953561 100644
--- a/os/xhal/codegen/hal_block_io.xml
+++ b/os/xhal/codegen/hal_block_io.xml
@@ -55,7 +55,7 @@
<retval value="true">If the operation failed.</retval>
<api />
</method>
- <method name="blkDisonnect" shortname="disconnect"
+ <method name="blkDisconnect" shortname="disconnect"
ctype="bool">
<brief>Disconnection from the block device.</brief>
<return>The operation status.</return>
Hope this is enough to fix autogenerated hal_block_io.h