Explorar el Código

remove: 移除luat_crypto_trng多余的变量

Wendal Chen hace 3 años
padre
commit
9877c0d4f7
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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);