RDS Radiotext should make receiver happier (missing end char)

String-ized text entry
This commit is contained in:
furrtek 2017-04-18 18:12:32 +01:00
parent 62b90942ac
commit 555201b780
24 changed files with 138 additions and 165 deletions

View file

@ -71,7 +71,7 @@ static msg_t ookthread_fn(void * arg) {
}
void MorseView::on_set_text(NavigationView& nav) {
textentry(nav, buffer, 28);
text_entry(nav, buffer, 28);
}
void MorseView::focus() {
@ -139,7 +139,7 @@ void MorseView::on_tx_progress(const int progress, const bool done) {
void MorseView::set_foxhunt(size_t i) {
message = foxhunt_codes[i];
strncpy(buffer, message.c_str(), sizeof(buffer));
buffer = message.c_str();
text_message.set(message);
update_tx_duration();
}