mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Dumb error fix
This commit is contained in:
@@ -44,7 +44,7 @@ static void close_protection() {
|
||||
}
|
||||
}
|
||||
|
||||
static void enable_protection_at(int i) {
|
||||
static void disable_protection_at(int i) {
|
||||
if (!FLASH.OPTCR()->getLOCK()) {
|
||||
switch (i)
|
||||
{
|
||||
@@ -78,7 +78,7 @@ static void enable_protection_at(int i) {
|
||||
}
|
||||
}
|
||||
|
||||
static void disable_protection_at(int i) {
|
||||
static void enable_protection_at(int i) {
|
||||
if (!FLASH.OPTCR()->getLOCK()) {
|
||||
switch (i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user