Skip to content

Commit

Permalink
Update specs
Browse files Browse the repository at this point in the history
  • Loading branch information
jonlamb-gh committed May 27, 2024
1 parent 70563d4 commit 941411c
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions test_system/specs/device.speqtr
Original file line number Diff line number Diff line change
Expand Up @@ -56,24 +56,10 @@ end

# @type = "led-timer-isr"
behavior "LED Timer Interrupt"
when "the LED timer ISR begins"
TASK_SWITCH_ISR_BEGIN @ LEDTimerISR as isr_begin
end

until "the next LED timer ISR"
nominal case "LED timer fires"
TASK_SWITCH_ISR_BEGIN @ LEDTimerISR
end

nominal case "an info message is logged"
isr_begin
FOLLOWED BY
info @ LEDTimerISR (_.formatted_string = "blink")
end

recovery case "a higher priority context is activated"
isr_begin
FOLLOWED BY
TASK_ACTIVATE @ *
info @ LEDTimerISR (_.formatted_string = "blink") AGGREGATE count() > 0
end
end

Expand Down

0 comments on commit 941411c

Please sign in to comment.