This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git

commit c4ff19a7e447dec2cdb188415650c5b0e2df9d9c
Author: wangjianyu3 <[email protected]>
AuthorDate: Wed Jun 25 00:53:07 2025 +0800

    system/fastboot: fix typos of response error log
    
    Fix typos of sparse header comments and download/upload response error log.
    
    Signed-off-by: wangjianyu3 <[email protected]>
---
 system/fastboot/fastboot.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/system/fastboot/fastboot.c b/system/fastboot/fastboot.c
index c34bc2379..b20be6b7d 100644
--- a/system/fastboot/fastboot.c
+++ b/system/fastboot/fastboot.c
@@ -109,7 +109,7 @@ struct fastboot_sparse_header_s
 {
   uint32_t magic;           /* 0xed26ff3a */
   uint16_t major_version;   /* (0x1) - reject images with higher major 
versions */
-  uint16_t minor_version;   /* (0x0) - allow images with higer minor versions 
*/
+  uint16_t minor_version;   /* (0x0) - allow images with higher minor versions 
*/
   uint16_t file_hdr_sz;     /* 28 bytes for first revision of the file format 
*/
   uint16_t chunk_hdr_sz;    /* 12 bytes for first revision of the file format 
*/
   uint32_t blk_sz;          /* block size in bytes, must be a multiple of 4 
(4096) */
@@ -652,7 +652,7 @@ static void fastboot_download(FAR struct fastboot_ctx_s 
*ctx,
   ret = ctx->ops->write(ctx, response, strlen(response));
   if (ret < 0)
     {
-      fb_err("Reponse error [%d]\n", -ret);
+      fb_err("Response error [%d]\n", -ret);
       return;
     }
 
@@ -943,7 +943,7 @@ static void fastboot_upload(FAR struct fastboot_ctx_s *ctx,
   ret = ctx->ops->write(ctx, response, strlen(response));
   if (ret < 0)
     {
-      fb_err("Reponse error [%d]\n", -ret);
+      fb_err("Response error [%d]\n", -ret);
       goto done;
     }
 

Reply via email to