1
0
mirror of https://github.com/raspberrypi/pico-sdk.git synced 2025-08-09 04:22:44 +03:00

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

View File

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