diff --git a/components/ulp/include/esp32/ulp.h b/components/ulp/include/esp32/ulp.h index 2f22937e28..309f09b8d6 100644 --- a/components/ulp/include/esp32/ulp.h +++ b/components/ulp/include/esp32/ulp.h @@ -232,7 +232,7 @@ union ulp_insn { uint32_t unused : 8; /*!< Unused */ uint32_t low : 5; /*!< Low bit */ uint32_t high : 5; /*!< High bit */ - uint32_t opcode : 4; /*!< Opcode (OPCODE_WR_REG) */ + uint32_t opcode : 4; /*!< Opcode (OPCODE_RD_REG) */ } rd_reg; /*!< Format of RD_REG instruction */ struct { diff --git a/components/ulp/include/esp32s2/ulp.h b/components/ulp/include/esp32s2/ulp.h index 58331cf52c..07ae895e99 100644 --- a/components/ulp/include/esp32s2/ulp.h +++ b/components/ulp/include/esp32s2/ulp.h @@ -201,7 +201,7 @@ union ulp_insn { uint32_t unused : 8; /*!< Unused */ uint32_t low : 5; /*!< Low bit */ uint32_t high : 5; /*!< High bit */ - uint32_t opcode : 4; /*!< Opcode (OPCODE_WR_REG) */ + uint32_t opcode : 4; /*!< Opcode (OPCODE_RD_REG) */ } rd_reg; /*!< Format of RD_REG instruction */ struct {