aboutsummaryrefslogtreecommitdiff
path: root/lib/ethosu_monitor/include/ethosu_monitor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ethosu_monitor/include/ethosu_monitor.hpp')
-rw-r--r--lib/ethosu_monitor/include/ethosu_monitor.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ethosu_monitor/include/ethosu_monitor.hpp b/lib/ethosu_monitor/include/ethosu_monitor.hpp
index 2bdeb4a..4ef5821 100644
--- a/lib/ethosu_monitor/include/ethosu_monitor.hpp
+++ b/lib/ethosu_monitor/include/ethosu_monitor.hpp
@@ -1,5 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -56,7 +56,7 @@ public:
for (size_t i = 0; i < ETHOSU_PMU_NCOUNTERS; i++) {
ETHOSU_PMU_Set_EVTYPER(drv, i, static_cast<ethosu_pmu_event_type>(ethosuEventIds[i]));
- ETHOSU_PMU_CNTR_Enable(drv, 1 << i);
+ ETHOSU_PMU_CNTR_Enable(drv, 1u << i);
}
ETHOSU_PMU_CNTR_Enable(drv, ETHOSU_PMU_CCNT_Msk);