diff options
author | Evan Lojewski <github@meklort.com> | 2019-06-05 21:44:59 -0600 |
---|---|---|
committer | Evan Lojewski <github@meklort.com> | 2019-06-05 21:44:59 -0600 |
commit | 4ebc9cccac2fd557c5261be7adc2d4de22488029 (patch) | |
tree | 549cd77c6ea60d90ffdc18b2819f859fd862ec8e /libs/APE | |
parent | c75332ef9fdd8de33c860f6efe409433e553b7c7 (diff) | |
download | bcm5719-ortega-4ebc9cccac2fd557c5261be7adc2d4de22488029.tar.gz bcm5719-ortega-4ebc9cccac2fd557c5261be7adc2d4de22488029.zip |
Begin adding support for clang-format
Diffstat (limited to 'libs/APE')
-rw-r--r-- | libs/APE/CMakeLists.txt | 2 | ||||
-rw-r--r-- | libs/APE/ape.c | 16 |
2 files changed, 10 insertions, 8 deletions
diff --git a/libs/APE/CMakeLists.txt b/libs/APE/CMakeLists.txt index 6b8fa9e..06e42a4 100644 --- a/libs/APE/CMakeLists.txt +++ b/libs/APE/CMakeLists.txt @@ -60,3 +60,5 @@ target_include_directories(${PROJECT_NAME}-mips PUBLIC include) arm_add_library(${PROJECT_NAME}-arm STATIC ape.c) target_include_directories(${PROJECT_NAME}-arm PUBLIC ../../include) target_include_directories(${PROJECT_NAME}-arm PUBLIC include) + +format_target_sources(${PROJECT_NAME}) diff --git a/libs/APE/ape.c b/libs/APE/ape.c index e7f0ca8..28230af 100644 --- a/libs/APE/ape.c +++ b/libs/APE/ape.c @@ -122,12 +122,12 @@ void APE_releaseAllLocks(void) lock_release.r32 = 0; lock_release.bits.Bootcode = 1; - APE_PERI.PerLockGrantPhy0.r32 = lock_release.r32; - APE_PERI.PerLockGrantGrc.r32 = lock_release.r32; - APE_PERI.PerLockGrantPhy1.r32 = lock_release.r32; - APE_PERI.PerLockGrantPhy2.r32 = lock_release.r32; - APE_PERI.PerLockGrantMem.r32 = lock_release.r32; - APE_PERI.PerLockGrantPhy3.r32 = lock_release.r32; - APE_PERI.PerLockGrantPort6.r32 = lock_release.r32; - APE_PERI.PerLockGrantGpio.r32 = lock_release.r32; + APE_PERI.PerLockGrantPhy0.r32 = lock_release.r32; + APE_PERI.PerLockGrantGrc.r32 = lock_release.r32; + APE_PERI.PerLockGrantPhy1.r32 = lock_release.r32; + APE_PERI.PerLockGrantPhy2.r32 = lock_release.r32; + APE_PERI.PerLockGrantMem.r32 = lock_release.r32; + APE_PERI.PerLockGrantPhy3.r32 = lock_release.r32; + APE_PERI.PerLockGrantPort6.r32 = lock_release.r32; + APE_PERI.PerLockGrantGpio.r32 = lock_release.r32; } |