Skip to content

Commit 9b5aa6b

Browse files
youssefz24fabiobaltieri
authored andcommitted
tests: app_dev: ram_context_for_isr: fix irq_num
This commit fixes the type of `irq_num` in the `fake_driver_config` structure to `uint16_t`. This is to match the expected type for the case where `TEST_IRQ_NUM = (CONFIG_NUM_IRQS - 1)`, on platforms with more than 256 IRQs. Signed-off-by: Youssef Zini <[email protected]>
1 parent 6ceb672 commit 9b5aa6b

File tree

1 file changed

+1
-1
lines changed
  • tests/application_development/ram_context_for_isr/include

1 file changed

+1
-1
lines changed

tests/application_development/ram_context_for_isr/include/fake_driver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ typedef void (*fake_driver_irq_callback_t)(const struct device *dev, void *user_
3434

3535
struct fake_driver_config {
3636
void (*irq_config_func)(void);
37-
uint8_t irq_num;
37+
uint16_t irq_num;
3838
uint8_t irq_priority;
3939
};
4040

0 commit comments

Comments
 (0)