fixed the 'int' graph in order to be compatible with Excito B3 product

This commit is contained in:
Jordi Sanfeliu 2013-11-18 17:16:28 +01:00
parent 0961323743
commit 9e0f9abd0e
1 changed files with 5 additions and 0 deletions

View File

@ -835,6 +835,11 @@ sub int_cgi {
if(/\s+3:/ && !$timer_pos) {
$timer_pos = index($_, "BCM2708 Timer Tick", 0);
}
# Assuming int 1 will be only for "orion_tick" (on Excito B3)
if(/\s+1:/ && !$timer_pos) {
$timer_pos = index($_, "orion_tick", 0);
}
$timer_pos = $timer_pos == 0 ? 999 : $timer_pos;
$i8042_pos = $i8042_pos == -1 ? 0 : $i8042_pos;
$good_pos = $timer_pos > $i8042_pos ? $i8042_pos : $timer_pos;