1
0
Fork 0
forked from AbleOS/ableos
ableos/sysdata/programs/serial_driver_test/src/main.hb

18 lines
295 B
Plaintext
Raw Normal View History

2024-09-13 16:41:31 -05:00
.{string, buffer} := @use("../../../libraries/stn/src/lib.hb")
2024-08-19 13:13:58 -05:00
log_info := fn(): void {
a := buffer.search("XNumber\0")
if a == 0 {
} else {
msg := "XABC\0"
msg_length := @inline(string.length, msg)
2024-09-19 14:40:10 -05:00
@eca(3, a, msg, msg_length)
2024-08-19 13:13:58 -05:00
}
return
}
main := fn(): int {
log_info()
return 0
}