[bsp][rsoc] remove infinite while loop counting
This commit is contained in:
parent
684bcc8d16
commit
a98c872934
|
@ -17,11 +17,10 @@
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
int count = 1;
|
|
||||||
/* set LED2 pin mode to output */
|
/* set LED2 pin mode to output */
|
||||||
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);
|
rt_pin_mode(LED2_PIN, PIN_MODE_OUTPUT);
|
||||||
|
|
||||||
while (count++)
|
while (1)
|
||||||
{
|
{
|
||||||
rt_pin_write(LED2_PIN, PIN_HIGH);
|
rt_pin_write(LED2_PIN, PIN_HIGH);
|
||||||
rt_thread_mdelay(500);
|
rt_thread_mdelay(500);
|
||||||
|
|
|
@ -17,11 +17,10 @@
|
||||||
|
|
||||||
int main(void)
|
int main(void)
|
||||||
{
|
{
|
||||||
int count = 1;
|
|
||||||
/* set LED2 pin mode to output */
|
/* set LED2 pin mode to output */
|
||||||
rt_pin_mode(LED1_PIN, PIN_MODE_OUTPUT);
|
rt_pin_mode(LED1_PIN, PIN_MODE_OUTPUT);
|
||||||
|
|
||||||
while (count++)
|
while (1)
|
||||||
{
|
{
|
||||||
rt_pin_write(LED1_PIN, PIN_HIGH);
|
rt_pin_write(LED1_PIN, PIN_HIGH);
|
||||||
rt_thread_mdelay(500);
|
rt_thread_mdelay(500);
|
||||||
|
|
Loading…
Reference in New Issue