Fix a narrowing conversion warning.

This commit is contained in:
Clayton Smith 2015-08-15 17:56:30 -04:00
parent f2cabadf60
commit 25c2e612c0

View File

@ -121,7 +121,7 @@ SetFrequencyCorrectionView::SetFrequencyCorrectionView(
} });
SetFrequencyCorrectionModel model {
portapack::persistent_memory::correction_ppb() / 1000
(int8_t) (portapack::persistent_memory::correction_ppb() / 1000)
};
form_init(model);