Ignore:
Timestamp:
2018-04-12T12:57:20Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bacee1
Parents:
9c514be
git-author:
Jiri Svoboda <jiri@…> (2018-04-11 18:18:43)
git-committer:
Jiri Svoboda <jiri@…> (2018-04-12 12:57:20)
Message:

Use proper boolean constant in while loops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/mach/beaglebone/beaglebone.c

    r9c514be r76d0981d  
    4747#include <ddi/ddi.h>
    4848#include <mm/km.h>
     49#include <stdbool.h>
    4950
    5051#define BBONE_MEMORY_START       0x80000000      /* physical */
     
    159160static void bbone_cpu_halt(void)
    160161{
    161         while (1)
     162        while (true)
    162163                ;
    163164}
Note: See TracChangeset for help on using the changeset viewer.