add proper cdm strings and comment out all echos
This commit is contained in:
parent
4e2192fd1c
commit
159bbce6d5
2 changed files with 10 additions and 10 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
cmd: " nim c shared.nim"
|
||||
cmd: "nim $target --debuginfo --hints:on --app:lib $options $file"
|
||||
"""
|
||||
|
||||
import strutils
|
||||
|
|
@ -45,16 +45,16 @@ proc status() {.exportc: "status", dynlib.} =
|
|||
var a = getComm1Status()
|
||||
var b = getComm2Status()
|
||||
var str2: string = "$1 COM1: $2 COM2: $3" % [ptt_status, a, b]
|
||||
echo(str1)
|
||||
echo(str2)
|
||||
#echo(str1)
|
||||
#echo(str2)
|
||||
|
||||
proc count() {.exportc: "count", dynlib.} =
|
||||
var temp: uint64
|
||||
for i in 0..100_000:
|
||||
temp += 1
|
||||
gCounter += 1
|
||||
echo("gCounter: ", gCounter)
|
||||
#echo("gCounter: ", gCounter)
|
||||
|
||||
proc occupiedMem() {.exportc: "occupiedMem", dynlib.} =
|
||||
echo("Occupied Memmory: ", getOccupiedMem())
|
||||
#echo("Occupied Memmory: ", getOccupiedMem())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue