Browse Source

Merge pull request #4142 from thread-liu/master

[IMEI] Incorrect macro definition name and update jobs name.
Bernard Xiong 4 years ago
parent
commit
2bedb0b24d
2 changed files with 2 additions and 1 deletions
  1. 1 0
      .github/workflows/action.yml
  2. 1 1
      components/net/netdev/src/netdev.c

+ 1 - 0
.github/workflows/action.yml

@@ -24,6 +24,7 @@ on:
 jobs:
   build:
     runs-on: ubuntu-latest
+    name: ${{ matrix.legs.RTT_BSP }}
     strategy:
       fail-fast: false
       matrix:

+ 1 - 1
components/net/netdev/src/netdev.c

@@ -887,7 +887,7 @@ static void netdev_list_if(void)
                 rt_kprintf("%02x ", netdev->hwaddr[index]);
             }
         }
-        else if (netdev->hwaddr_len == NETDEV_IFCONFIG_IEMI_MAX_LEN)
+        else if (netdev->hwaddr_len == NETDEV_IFCONFIG_IMEI_MAX_LEN)
         {
             rt_kprintf("IMEI: ");
             for (index = 0; index < netdev->hwaddr_len; index++)