Signed-off-by: Stefan Brüns <stefan.bru...@rwth-aachen.de> --- src/hwtimer/hwtimer.cpp | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/src/hwtimer/hwtimer.cpp b/src/hwtimer/hwtimer.cpp index 74d3b3c..691f9b1 100644 --- a/src/hwtimer/hwtimer.cpp +++ b/src/hwtimer/hwtimer.cpp @@ -1537,6 +1537,9 @@ bool HWTimerTinyX5::PrescalerMux(void) { case 15: // CKx16384 return (bool)((prescaler % 16384) == 0); + + default: // not reached + return false; } } @@ -1558,6 +1561,9 @@ bool HWTimerTinyX5::DeadTimePrescalerMux(void) { case 3: // CKx8 return (bool)((dtprescaler % 8) == 0); + + default: // not reached + return false; } } -- 1.8.4 _______________________________________________ Simulavr-devel mailing list Simulavr-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/simulavr-devel