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:
committed by
GitHub
parent
6a56480879
commit
6d8588d62c
@@ -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");
|
||||
|
Reference in New Issue
Block a user