Idiot, DEBUG not debug
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ def maincfilename_find (dirname):
|
|||||||
|
|
||||||
def functions_find (filepath, functiondeps, functions, options):
|
def functions_find (filepath, functiondeps, functions, options):
|
||||||
|
|
||||||
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -Ddebug > /dev/null'
|
command = options.compile + ' -c ' + filepath + ' -fdump-tree-cfg-raw -DDEBUG > /dev/null'
|
||||||
if options.debug:
|
if options.debug:
|
||||||
print >> sys.stderr, command
|
print >> sys.stderr, command
|
||||||
os.system (command)
|
os.system (command)
|
||||||
|
|||||||
+2
-2
@@ -115,8 +115,8 @@ mmelody_ticker_set (mmelody_t mmelody)
|
|||||||
With symbol_fraction = 4, speed = 50, and poll_rate of 200 this
|
With symbol_fraction = 4, speed = 50, and poll_rate of 200 this
|
||||||
gives a result of 60. */
|
gives a result of 60. */
|
||||||
|
|
||||||
mmelody->unit_ticks = (mmelody->poll_rate * 60
|
mmelody->unit_ticks
|
||||||
* MMELODY_BEAT_FRACTION)
|
= (mmelody->poll_rate * 60 * MMELODY_BEAT_FRACTION)
|
||||||
/ (mmelody->speed * mmelody->symbol_fraction
|
/ (mmelody->speed * mmelody->symbol_fraction
|
||||||
* MMELODY_DURATION_FRACTION);
|
* MMELODY_DURATION_FRACTION);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user