removed default value for plotbargraph

This commit is contained in:
Peli de Halleux 2016-03-21 16:49:21 -07:00
parent 1c7c3ed6ce
commit 3d3332faa1
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ namespace led {
*/
//% help=/functions/plot-bar-graph weight=20
//% blockId=device_plot_bar_graph block="plot bar graph of %value |up to %high" icon="\uf080" blockExternalInputs=true
export function plotBarGraph(value: number, high: number = 1023): void {
export function plotBarGraph(value: number, high: number): void {
writeString(value.toString() + "\r\n");