mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
0cce1bc067
19299: Add missing newline to output of telnet example r=benpicco a=Enoch247 ### Contribution description From the commit msg: > The telnet example prints a line to the console, but it is not ended with a newline. When using pyterm, the last line is then never shown as it reads the console line by line and is waiting for the end of the line. > > This patch swaps use of `printf` for `puts` for the last line printed. This means the missing newline character gets added. This is also done to be consistent with the rest of the file, where puts is used whenever possible instead of printf. ### Testing procedure 1. `cd examples/telnet` 2. `make all flash term` 3. observe the final line "Local shell disabled" is printed, but would not have without this patch ### Issues/PRs references - none known 19301: fib: document unused state r=benpicco a=benpicco Co-authored-by: Joshua DeWeese <jdeweese@primecontrols.com> Co-authored-by: Benjamin Valentin <benjamin.valentin@bht-berlin.de> |
||
---|---|---|
.. | ||
bluetil | ||
cord | ||
dhcpv6 | ||
dns | ||
ethernet | ||
fib | ||
gcoap | ||
gnrc | ||
iana | ||
ieee802154 | ||
ipv4 | ||
ipv6 | ||
lorawan | ||
nanocoap | ||
netstats | ||
ppp | ||
rpl | ||
sixlowpan | ||
skald | ||
sock | ||
af.h | ||
arp.h | ||
asymcute.h | ||
ble.h | ||
coap.h | ||
credman.h | ||
csma_sender.h | ||
dhcpv6.h | ||
dns_mock.h | ||
dns.h | ||
dsm.h | ||
dtls.h | ||
eddystone.h | ||
emcute.h | ||
ethernet.h | ||
ethertype.h | ||
eui48.h | ||
eui64.h | ||
eui_provider.h | ||
fib.h | ||
gcoap.h | ||
gnrc.h | ||
icmp.h | ||
icmpv6.h | ||
ieee802154_security.h | ||
ieee802154.h | ||
inet_csum.h | ||
ipv4.h | ||
ipv6.h | ||
l2filter.h | ||
l2util.h | ||
lora.h | ||
loramac.h | ||
mqttsn.h | ||
nanocoap_sock.h | ||
nanocoap_vfs.h | ||
nanocoap.h | ||
ndp.h | ||
netdev_test.h | ||
netif.h | ||
netopt.h | ||
netstats.h | ||
ntp_packet.h | ||
packet.h | ||
ppptype.h | ||
protnum.h | ||
sixlowpan.h | ||
skald.h | ||
sntp.h | ||
sock.h | ||
someip.h | ||
tcp.h | ||
telnet.h | ||
udp.h | ||
uhcp.h | ||
utils.h | ||
zep.h |