aboutsummaryrefslogtreecommitdiff
path: root/src/cryptech_novena_i2c_entropy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cryptech_novena_i2c_entropy.c')
-rw-r--r--src/cryptech_novena_i2c_entropy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptech_novena_i2c_entropy.c b/src/cryptech_novena_i2c_entropy.c
index 226ad1a..b2e6e22 100644
--- a/src/cryptech_novena_i2c_entropy.c
+++ b/src/cryptech_novena_i2c_entropy.c
@@ -106,8 +106,8 @@
#define CTRL_INIT_CMD 1
#define CTRL_NEXT_CMD 2
#define ADDR_STATUS 0x09
-#define STATUS_READY_BIT 0
-#define STATUS_VALID_BIT 1
+#define STATUS_READY_BIT 1
+#define STATUS_VALID_BIT 2
/*
* Address for reading 32 bits of entropy from the noise board.