Skip to content

Commit 453f060

Browse files
authored
Update mbed_test_api.py
1 parent 86c4bec commit 453f060

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mbed_greentea/mbed_test_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,6 @@ def get_thread_with_max_stack_size(thread_stack_info):
575575
reserved_stack_total += cur_thread_stack_info['stack_size']
576576
max_thread['max_stack_usage_total'] = max_stack_usage_total
577577
max_thread['reserved_stack_total'] = reserved_stack_total
578-
max_thread['reserved_stack_total'] = reserved_stack_total
579578
return max_thread
580579

581580
def get_thread_stack_info_summary(thread_stack_info):
@@ -584,7 +583,7 @@ def get_thread_stack_info_summary(thread_stack_info):
584583
summary = {
585584
'max_stack_size': max_thread_info['stack_size'],
586585
'max_stack_usage': max_thread_info['max_stack'],
587-
'max_stack_usage_total': max_thread_info['max_stack_usage_total']
586+
'max_stack_usage_total': max_thread_info['max_stack_usage_total'],
588587
'reserved_stack_total': max_thread_info['reserved_stack_total']
589588
}
590589
return summary

0 commit comments

Comments
 (0)