User Activity

Can anyone explain to me what is wrong in my code?Microcontroller: STM32C031K6T6I'm trying to make an interface so that the user can change the name of their environment in real time, my idea and what I tried to write is something that holds the prev...
How can i solve this ? My board is a nucleo lnucleo-l476rg (genuine i think) but i cant do anything bc my cubeprogrammer dont works