Переглянути джерело

remove: 移除luat_crypto_trng多余的变量

Wendal Chen 3 роки тому
батько
коміт
9877c0d4f7
1 змінених файлів з 0 додано та 2 видалено
  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 "task.h"
 
-static char trng_init = 0;
-
 int luat_crypto_trng(char* buff, size_t len) {
     tls_crypto_random_init(0, CRYPTO_RNG_SWITCH_32);
     vTaskDelay(1);