Code corrections
Merge Request Overview
This merge request corrects the missing use core::panic::PanicInfo; in the Bare Metal code, along with adding the correct cast for the second code snippet.
TODO
Still missing the declarations for pin and value. Without knowledge about the initial intent, I left the code unchanged.
Edited by Vlăduț-Andrei CHINȚOIU