diff options
author | Ledion Daja <ledion.daja@arm.com> | 2023-02-17 09:37:58 +0100 |
---|---|---|
committer | Ledion Daja <ledion.daja@arm.com> | 2023-03-14 11:21:33 +0100 |
commit | b0aacb484c2316b71909b3b7cb6968879e5bc8ca (patch) | |
tree | f8b78eb812023ef9d880fc6f404ff55af7cfc76c /applications/message_handler_openamp | |
parent | 00b8e7beb4fef59c5bef3bc963dfff5bd11718b6 (diff) | |
download | ethos-u-core-platform-b0aacb484c2316b71909b3b7cb6968879e5bc8ca.tar.gz |
Fix SEI CERT coding standard warnings
Change-Id: I47fdf29a50440c82fd9ccf111a846bf87e8a9e29
Diffstat (limited to 'applications/message_handler_openamp')
-rw-r--r-- | applications/message_handler_openamp/inference_runner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/message_handler_openamp/inference_runner.cpp b/applications/message_handler_openamp/inference_runner.cpp index 2f9d8ec..00e95a9 100644 --- a/applications/message_handler_openamp/inference_runner.cpp +++ b/applications/message_handler_openamp/inference_runner.cpp @@ -148,7 +148,7 @@ void ethosu_inference_begin(ethosu_driver *drv, void *userArg) { // Configure and enable events for (int i = 0; i < numEvents; i++) { ETHOSU_PMU_Set_EVTYPER(drv, i, static_cast<ethosu_pmu_event_type>(response->pmu_event_config[i])); - ETHOSU_PMU_CNTR_Enable(drv, 1 << i); + ETHOSU_PMU_CNTR_Enable(drv, 1u << i); } // Enable cycle counter |