Mercurial > lcfOS
comparison user/lib/lib.c3 @ 410:6aa9743ed362 tip
Reflect change in c3 public modifier
author | Windel Bouwman |
---|---|
date | Mon, 23 Feb 2015 21:06:04 +0100 |
parents | 0fb6633c42f6 |
children |
comparison
equal
deleted
inserted
replaced
408:ad6be5454067 | 410:6aa9743ed362 |
---|---|
11 var int *UART0DR; | 11 var int *UART0DR; |
12 UART0DR = cast<int*>(0x109000); // UART0 DR register when remapped at 1MB | 12 UART0DR = cast<int*>(0x109000); // UART0 DR register when remapped at 1MB |
13 *UART0DR = c; | 13 *UART0DR = c; |
14 } | 14 } |
15 | 15 |
16 function void print(string txt) | 16 public function void print(string txt) |
17 { | 17 { |
18 // TODO | 18 // TODO |
19 var ipc.Msg msg; | 19 var ipc.Msg msg; |
20 ipc.SendMessage(&msg); | 20 ipc.SendMessage(&msg); |
21 | 21 |