Browse Source

remove: 移除luat_crypto_trng多余的变量

Wendal Chen 3 years ago
parent
commit
9877c0d4f7
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/port/luat_crypto_air101.c

+ 0 - 2
app/port/luat_crypto_air101.c

@@ -12,8 +12,6 @@
 #include "FreeRTOS.h"
 #include "FreeRTOS.h"
 #include "task.h"
 #include "task.h"
 
 
-static char trng_init = 0;
-
 int luat_crypto_trng(char* buff, size_t len) {
 int luat_crypto_trng(char* buff, size_t len) {
     tls_crypto_random_init(0, CRYPTO_RNG_SWITCH_32);
     tls_crypto_random_init(0, CRYPTO_RNG_SWITCH_32);
     vTaskDelay(1);
     vTaskDelay(1);