Skip to content

Commit

Permalink
Re #1643: fixed SKY9X build
Browse files Browse the repository at this point in the history
  • Loading branch information
projectkk2glider committed Sep 3, 2014
1 parent 3375641 commit a330679
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions radio/src/opentx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3304,11 +3304,13 @@ uint16_t stack_free(uint8_t tid)
stack = audioStack;
size = AUDIO_STACK_SIZE;
break;
#if defined(PCBTARANIS)
case 255:
// main stack
stack = (OS_STK *)&_main_stack_start;
size = ((unsigned char *)&_estack - (unsigned char *)&_main_stack_start) / 4;
break;
#endif
default:
return 0;
}
Expand Down

0 comments on commit a330679

Please sign in to comment.