mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-19 09:43:51 +08:00
enable misra-c2012-14.2 (#1815)
* enable misra-c2012-14.2 (#1805) * true * while --------- Co-authored-by: Ruben Medina <samrum@gmail.com>
This commit is contained in:
@@ -385,8 +385,8 @@ int main(void) {
|
||||
|
||||
// LED should keep on blinking all the time
|
||||
uint64_t cnt = 0;
|
||||
|
||||
for (cnt=0;;cnt++) {
|
||||
while (true) {
|
||||
cnt++;
|
||||
if (power_save_status == POWER_SAVE_STATUS_DISABLED) {
|
||||
#ifdef DEBUG_FAULTS
|
||||
if (fault_status == FAULT_STATUS_NONE) {
|
||||
|
||||
@@ -36,7 +36,6 @@ misra-c2012-10.3
|
||||
misra-c2012-10.5
|
||||
misra-c2012-10.7
|
||||
misra-c2012-12.2
|
||||
misra-c2012-14.2
|
||||
misra-c2012-17.3
|
||||
misra-c2012-21.1
|
||||
misra-c2012-21.2
|
||||
|
||||
Reference in New Issue
Block a user