Adjust generated name to match pio_mov_status_type (#2324)

The enum pio_mov_status_type expects the member name to be STATUS_IRQ_SET.
This commit is contained in:
Christopher Chamberlain 2025-03-18 13:39:38 -05:00 committed by GitHub
parent 6a56480879
commit 6d8588d62c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -139,7 +139,7 @@ struct c_sdk_output : public output_format {
const char *types[] = {
"STATUS_TX_LESSTHAN",
"STATUS_RX_LESSTHAN",
"STATUS_IRQ_INDEX",
"STATUS_IRQ_SET",
};
if (program.mov_status_type < 0 || program.mov_status_type >= 3) {
throw std::runtime_error("unknown mov_status type");